commit | 86d1fa17fb91d2579ed059db0125a198c7a388fd | [log] [tgz] |
---|---|---|
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | Tue Sep 08 18:59:58 2020 +0200 |
committer | Marek Vasut <marex@denx.de> | Thu Oct 01 19:43:05 2020 +0200 |
tree | c4ae54329b490ac7785168232338a10728813d24 | |
parent | 740820519c69d84b320199a8a4348e47c447ebfb [diff] |
usb: xhci: convert to HCS_MAX_PORTS() Use HCS_MAX_PORTS(p) instead of ((p & HCS_MAX_PORTS_MASK) >> HCS_MAX_PORTS_SHIFT) Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>