usb: gadget: function: fix typo in f_printer.c
In line 824, it is trying to enable `out_ep`, so I believe that in line 826, it should print `out_ep` instead of `in_ep`. Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com> Link: https://lore.kernel.org/r/20210214121929.9750-1-jj251510319013@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3287f58bcb
commit
e21a2e0a0f
|
@ -825,7 +825,7 @@ set_printer_interface(struct printer_dev *dev)
|
||||||
|
|
||||||
result = usb_ep_enable(dev->out_ep);
|
result = usb_ep_enable(dev->out_ep);
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
DBG(dev, "enable %s --> %d\n", dev->in_ep->name, result);
|
DBG(dev, "enable %s --> %d\n", dev->out_ep->name, result);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue