[PATCH RESEND v2 05/11] usb: xhci: convert to TRB_TYPE()

Bin Meng bmeng.cn at gmail.com
Fri Sep 4 08:54:09 CEST 2020


On Wed, Aug 26, 2020 at 5:31 PM Chunfeng Yun <chunfeng.yun at mediatek.com> wrote:
>
> Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT)
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> v2: no changes
> ---
>  drivers/usb/host/xhci-mem.c  |  3 +--
>  drivers/usb/host/xhci-ring.c | 11 +++++------
>  include/usb/xhci.h           |  1 -
>  3 files changed, 6 insertions(+), 9 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list