summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Izard <romain.izard.pro@gmail.com>2016-08-29 12:22:29 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-31 10:06:05 +0300
commitda7b895d518cc1753ee5f4b7f2158087282d1a65 (patch)
treef6185722341622fc6c6b72c3aa5d5814e2270f3e
parent4fbac5206afd01b717d4bdc58793d471f3391b4b (diff)
downloadop-kernel-dev-da7b895d518cc1753ee5f4b7f2158087282d1a65.zip
op-kernel-dev-da7b895d518cc1753ee5f4b7f2158087282d1a65.tar.gz
usb: gadget: configfs: log function unbinding as debug
Disabling USB gadget functions configured through configfs is something that can happen in normal use cases. Keep the existing log for this type of event, but only as debug, not as an error. Signed-off-by: Romain Izard <romain.izard.pro@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r--drivers/usb/gadget/configfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
index de844d4..3984787 100644
--- a/drivers/usb/gadget/configfs.c
+++ b/drivers/usb/gadget/configfs.c
@@ -1211,7 +1211,7 @@ static void purge_configs_funcs(struct gadget_info *gi)
list_move_tail(&f->list, &cfg->func_list);
if (f->unbind) {
- dev_info(&gi->cdev.gadget->dev,
+ dev_dbg(&gi->cdev.gadget->dev,
"unbind function '%s'/%p\n",
f->name, f);
f->unbind(c, f);
OpenPOWER on IntegriCloud