aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/anydata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/anydata.c')
-rw-r--r--drivers/usb/serial/anydata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/anydata.c b/drivers/usb/serial/anydata.c
index 343f6f2..dadf283 100644
--- a/drivers/usb/serial/anydata.c
+++ b/drivers/usb/serial/anydata.c
@@ -71,7 +71,7 @@ static int anydata_open(struct usb_serial_port *port, struct file *filp)
port->bulk_in_endpointAddress),
port->read_urb->transfer_buffer,
port->read_urb->transfer_buffer_length,
- usb_serial_generic_write_bulk_callback, port);
+ usb_serial_generic_read_bulk_callback, port);
result = usb_submit_urb(port->read_urb, GFP_KERNEL);
if (result)
dev_err(&port->dev,