Re: [next v2 PATCH] usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints

From: Greg Kroah-Hartman
Date: Tue Feb 02 2021 - 02:06:16 EST


On Tue, Feb 02, 2021 at 02:28:18PM +0800, Chunfeng Yun wrote:
> For those unchecked endpoints, we don't allocate bandwidth for
> them, so no need free the bandwidth, otherwise will decrease
> the allocated bandwidth.
> Meanwhile use xhci_dbg() instead of dev_dbg() to print logs and
> rename bw_ep_list_new as bw_ep_chk_list.
>
> Fixes: 1d69f9d901ef ("usb: xhci-mtk: fix unreleased bandwidth data")
> Cc: stable <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
> Tested-by: Ikjoon Jang <ikjn@xxxxxxxxxxxx>
> Reviewed-by: Ikjoon Jang <ikjn@xxxxxxxxxxxx>
> ---
> v2: add 'break' when find the ep that will be dropped suggested by Ikjoon
> add Tested-by and Reviewed-by Ikjoon

As v1 is already in my public tree, please send a follow-on patch that
fixes it instead.

thanks,

greg k-h