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

Bin Meng
2020-09-04T09:23:30Z

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