usb: dwc3: gadget: Change to dev_dbg() when queuing to inactive gadget/ep
authorWesley Cheng <wcheng@codeaurora.org>
Mon, 18 Oct 2021 19:26:47 +0000 (12:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Oct 2021 17:37:27 +0000 (19:37 +0200)
commitb851f7c7b8fd5365e447bb60e1e18eb6de628507
tree781c08b13434515bf29b5243808e5b12fd5e9f91
parent99984b081f99ca30bbbebe5490a8328b0a212931
usb: dwc3: gadget: Change to dev_dbg() when queuing to inactive gadget/ep

Since function drivers will still be active until dwc3_disconnect_gadget()
is called, some applications will continue to queue packets to DWC3
gadget.  This can lead to a flood of messages regarding failed ep queue,
as the endpoint is in the process of being disabled.  Change the log
level to debug, so that it can be enabled when debugging issues.

Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lore.kernel.org/r/20211018192647.32121-1-wcheng@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c