projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d784f1e
)
usb: dwc2/gadget: hide some not really needed debug messages
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Tue, 9 Sep 2014 08:44:54 +0000
(10:44 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:16:38 +0000
(16:16 -0700)
Some DWC2/s3c-hsotg debug messages are really useless for typical user,
so hide them behind dev_dbg().
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc2/gadget.c
b/drivers/usb/dwc2/gadget.c
index
297f545
..
b445733
100644
(file)
--- a/
drivers/usb/dwc2/gadget.c
+++ b/
drivers/usb/dwc2/gadget.c
@@
-2568,7
+2568,7
@@
static int s3c_hsotg_ep_disable(struct usb_ep *ep)
u32 epctrl_reg;
u32 ctrl;
- dev_
info
(hsotg->dev, "%s(ep %p)\n", __func__, ep);
+ dev_
dbg
(hsotg->dev, "%s(ep %p)\n", __func__, ep);
if (ep == &hsotg->eps[0].ep) {
dev_err(hsotg->dev, "%s: called for ep0\n", __func__);
@@
-2626,7
+2626,7
@@
static int s3c_hsotg_ep_dequeue(struct usb_ep *ep, struct usb_request *req)
struct s3c_hsotg *hs = hs_ep->parent;
unsigned long flags;
- dev_
info
(hs->dev, "ep_dequeue(%p,%p)\n", ep, req);
+ dev_
dbg
(hs->dev, "ep_dequeue(%p,%p)\n", ep, req);
spin_lock_irqsave(&hs->lock, flags);