[RESEND PATCH v2 04/11] usb: xhci: convert to HCS_MAX_PORTS()
Bin Meng
bmeng.cn at gmail.com
Fri Sep 4 08:54:06 CEST 2020
On Wed, Sep 2, 2020 at 2:15 PM Frank Wunderlich <linux at fw-web.de> wrote:
>
> From: Chunfeng Yun <chunfeng.yun at mediatek.com>
>
> Use HCS_MAX_PORTS(p) instead of
> ((p & HCS_MAX_PORTS_MASK) >> HCS_MAX_PORTS_SHIFT)
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> drivers/usb/host/xhci.c | 3 +--
> include/usb/xhci.h | 2 --
> 2 files changed, 1 insertion(+), 4 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list