summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorRomain Izard <romain.izard.pro@gmail.com>2016-08-29 09:22:29 (GMT)
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-31 07:06:05 (GMT)
commitda7b895d518cc1753ee5f4b7f2158087282d1a65 (patch)
treef6185722341622fc6c6b72c3aa5d5814e2270f3e /drivers/usb/gadget
parent4fbac5206afd01b717d4bdc58793d471f3391b4b (diff)
downloadlinux-da7b895d518cc1753ee5f4b7f2158087282d1a65.tar.xz
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/usb/gadget')
-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);