mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
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>
This commit is contained in:
parent
4fbac5206a
commit
da7b895d51
1 changed files with 1 additions and 1 deletions
|
@ -1211,7 +1211,7 @@ static void purge_configs_funcs(struct gadget_info *gi)
|
||||||
|
|
||||||
list_move_tail(&f->list, &cfg->func_list);
|
list_move_tail(&f->list, &cfg->func_list);
|
||||||
if (f->unbind) {
|
if (f->unbind) {
|
||||||
dev_info(&gi->cdev.gadget->dev,
|
dev_dbg(&gi->cdev.gadget->dev,
|
||||||
"unbind function '%s'/%p\n",
|
"unbind function '%s'/%p\n",
|
||||||
f->name, f);
|
f->name, f);
|
||||||
f->unbind(c, f);
|
f->unbind(c, f);
|
||||||
|
|
Loading…
Reference in a new issue