diff options
author | Joel Stanley <joel@jms.id.au> | 2019-09-30 15:14:34 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-10-22 09:40:09 +0200 |
commit | 1cbfb8c4f62d667f6b8b3948949737edb92992cc (patch) | |
tree | b9eb5ba8bff5922e810dbb1d3ea826e5145294d3 /drivers/usb/gadget/composite.c | |
parent | phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq (diff) | |
download | linux-1cbfb8c4f62d667f6b8b3948949737edb92992cc.tar.xz linux-1cbfb8c4f62d667f6b8b3948949737edb92992cc.zip |
usb: gadget: Quieten gadget config message
On a system that often re-configures a USB gadget device the kernel log
is filled with:
configfs-gadget gadget: high-speed config #1: c
Reduce the verbosity of this print to debug.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/composite.c')
-rw-r--r-- | drivers/usb/gadget/composite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index d516e8d6cd7f..bb0c744d5b44 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -794,9 +794,9 @@ static int set_config(struct usb_composite_dev *cdev, result = 0; } - INFO(cdev, "%s config #%d: %s\n", - usb_speed_string(gadget->speed), - number, c ? c->label : "unconfigured"); + DBG(cdev, "%s config #%d: %s\n", + usb_speed_string(gadget->speed), + number, c ? c->label : "unconfigured"); if (!c) goto done; |