summaryrefslogtreecommitdiff
path: root/drivers
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 /drivers
parent4fbac5206afd01b717d4bdc58793d471f3391b4b (diff)
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>
Diffstat (limited to 'drivers')
-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 de844d44b998..3984787f8e97 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);