summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2020-06-27 15:03:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-27 13:31:05 +0200
commitb3a5ce874c2619c9b8a6c5bbcfefdb95e0227600 (patch)
tree29e342fd0fc9b1edf8c6148b37715e18315eb7c8
parent05026c9a01b56f86b796d134daf57a552526c32f (diff)
downloadlinux-b3a5ce874c2619c9b8a6c5bbcfefdb95e0227600.tar.gz
linux-b3a5ce874c2619c9b8a6c5bbcfefdb95e0227600.tar.bz2
linux-b3a5ce874c2619c9b8a6c5bbcfefdb95e0227600.zip
usb: cdns3: gadget: Replace trace_printk by dev_dbg
trace_printk should not be used in production code, replace it call with dev_dbg. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Link: https://lore.kernel.org/r/20200627070307.516803-2-drinkcat@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/cdns3/gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c
index 5e24c2e57c0d..c303ab7c62d1 100644
--- a/drivers/usb/cdns3/gadget.c
+++ b/drivers/usb/cdns3/gadget.c
@@ -421,7 +421,7 @@ static int cdns3_start_all_request(struct cdns3_device *priv_dev,
if ((priv_req->flags & REQUEST_INTERNAL) ||
(priv_ep->flags & EP_TDLCHK_EN) ||
priv_ep->use_streams) {
- trace_printk("Blocking external request\n");
+ dev_dbg(priv_dev->dev, "Blocking external request\n");
return ret;
}
}