summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-05-03 13:48:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-12 08:00:00 +0200
commitf84f3df85c4c305d460d4a249872e7f34fc20f0c (patch)
tree71f82c938f4fc087dc5b61923b6e5dcca95ec3c3
parente74dfeba964519ca38ea095567282971f73a1e99 (diff)
downloadbarebox-f84f3df85c4c305d460d4a249872e7f34fc20f0c.tar.gz
usb: gadget: dfu: change status message to info log level
This used to be a printf, but was changed to pr_err in f6f521ec38ea ("usb: gadget: dfu: Rework print messages"). This is likely unintended as this is an expected output. Change it to pr_info. Fixes: f6f521ec38ea ("usb: gadget: dfu: Rework print messages") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210503114901.13095-9-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/usb/gadget/dfu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c
index 1ac63c4642..fd0ec505dc 100644
--- a/drivers/usb/gadget/dfu.c
+++ b/drivers/usb/gadget/dfu.c
@@ -447,8 +447,7 @@ dfu_bind(struct usb_configuration *c, struct usb_function *f)
i = 0;
file_list_for_each_entry(dfu_files, fentry) {
- pr_err("register alt%d(%s) with device %s\n",
- i, fentry->name, fentry->filename);
+ pr_info("register alt%d(%s) with device %s\n", i, fentry->name, fentry->filename);
i++;
}