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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Feb 2 02:00:53 EST 2021


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 at vger.kernel.org>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> Tested-by: Ikjoon Jang <ikjn at chromium.org>
> Reviewed-by: Ikjoon Jang <ikjn at chromium.org>
> ---
> 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



More information about the linux-arm-kernel mailing list