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

Bin Meng bmeng.cn at gmail.com
Fri Sep 4 11:23:30 CEST 2020


On Wed, Sep 2, 2020 at 2:14 PM Frank Wunderlich <linux at fw-web.de> wrote:
>
> From: Chunfeng Yun <chunfeng.yun at mediatek.com>
>
> Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT)
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
>  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