Skip to content

Commit

Permalink
usb: gadget: configfs: log function unbinding as debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Romain Izard authored and Felipe Balbi committed Aug 31, 2016
1 parent 4fbac52 commit da7b895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/configfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit da7b895

Please sign in to comment.