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