]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: convert to TRB_TYPE()
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 8 Sep 2020 16:59:59 +0000 (18:59 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 1 Oct 2020 17:43:05 +0000 (19:43 +0200)
commita826d76f2bab971b293b4ba6bf45b81871051383
tree9d371f807e25fa35e006e0922e261c387d7bc314
parent86d1fa17fb91d2579ed059db0125a198c7a388fd
usb: xhci: convert to TRB_TYPE()

Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT)

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-ring.c
include/usb/xhci.h