[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210107090604.299270-1-albertccwang@google.com>
Date: Thu, 7 Jan 2021 09:06:04 +0000
From: Albert Wang <albertccwang@...gle.com>
To: balbi@...nel.org, gregkh@...uxfoundation.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Albert Wang <albertccwang@...gle.com>
Subject: [PATCH] Revert "usb: gadget: Quieten gadget config message"
This reverts commit 1cbfb8c4f62d667f6b8b3948949737edb92992cc.
The log of USB enumeration result is a useful log and only occupies
one line especially when USB3 enumeration failed and then downgrade
to USB2.
Signed-off-by: Albert Wang <albertccwang@...gle.com>
---
drivers/usb/gadget/composite.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index c6d455f2bb92..5b0d6103a63d 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -840,9 +840,9 @@ static int set_config(struct usb_composite_dev *cdev,
result = 0;
}
- DBG(cdev, "%s config #%d: %s\n",
- usb_speed_string(gadget->speed),
- number, c ? c->label : "unconfigured");
+ INFO(cdev, "%s config #%d: %s\n",
+ usb_speed_string(gadget->speed),
+ number, c ? c->label : "unconfigured");
if (!c)
goto done;
--
2.29.2.684.gfbc64c5ab5-goog
Powered by blists - more mailing lists