[PATCH v3 8/9] usb: xhci: use macros with parameter to fill ep_info2

Bin Meng bmeng.cn at gmail.com
Tue Sep 8 03:35:04 CEST 2020


On Mon, Sep 7, 2020 at 3:14 PM Chunfeng Yun <chunfeng.yun at mediatek.com> wrote:
>
> 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 at mediatek.com>
> ---
> v3: merge patch [v2 9/11] and [v2 10/11] into one, both for ep_info2
>
> v2: no changes
> ---
>  drivers/usb/host/xhci-mem.c | 15 +++++----------
>  drivers/usb/host/xhci.c     |  6 ++----
>  include/usb/xhci.h          |  6 ------
>  3 files changed, 7 insertions(+), 20 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list