usb: hso: correct debug message
If you do not find the OUT endpoint, you should say so, rather than copy the error message for the IN endpoint. Presumably a copy and paste error. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
64082b67ba
commit
1a10186e59
|
@ -2659,7 +2659,7 @@ static struct hso_device *hso_create_bulk_serial_device(
|
|||
if (!
|
||||
(serial->out_endp =
|
||||
hso_get_ep(interface, USB_ENDPOINT_XFER_BULK, USB_DIR_OUT))) {
|
||||
dev_err(&interface->dev, "Failed to find BULK IN ep\n");
|
||||
dev_err(&interface->dev, "Failed to find BULK OUT ep\n");
|
||||
goto exit2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue