]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb: xhci: use macros with parameter to fill ep_info2
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 8 Sep 2020 17:00:02 +0000 (19:00 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 1 Oct 2020 17:43:05 +0000 (19:43 +0200)
commit23a54ccfb6da1c011c42359b2d20928617928902
tree1a1808318c24b1487ba10163ce4f8ff90f5cb7a6
parentbf58cf9ab1bf13654815d9db35d73c16d4651609
usb: xhci: use macros with parameter to fill ep_info2

Use macros with parameter to fill ep_info2, then some macros
for MASK and SHIFT can be removed

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.c
include/usb/xhci.h