Skip to content

Commit

Permalink
usb: dwc2/gadget: hide some not really needed debug messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Szyprowski authored and Greg Kroah-Hartman committed Sep 19, 2014
1 parent d784f1e commit 1e01129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/dwc2/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 1e01129

Please sign in to comment.