aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-16 11:36:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-16 11:36:13 -0400
commit1c1eaba8e72768156db4faff3a2c3a6ca7dea129 (patch)
tree4600cb56a0b1d067def6f66d1ccceb73f97d3a12 /drivers/usb/serial
parent450279822fb4781b3da2719d8855f4fa1db3a704 (diff)
USB: serial: ch341: make the reset_resume callback actually work.
I hooked up the wrong callback in my previous patch, this should fix it. Reported-by: Alan Stern <stern@rowland.harvard.edu> Cc: Johan Hovold <jhovold@gmail.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/ch341.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index 948138539378..cabd1b15ddce 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -607,7 +607,7 @@ static struct usb_serial_driver ch341_device = {
607 .tiocmset = ch341_tiocmset, 607 .tiocmset = ch341_tiocmset,
608 .read_int_callback = ch341_read_int_callback, 608 .read_int_callback = ch341_read_int_callback,
609 .attach = ch341_attach, 609 .attach = ch341_attach,
610 .resume = ch341_reset_resume, 610 .reset_resume = ch341_reset_resume,
611}; 611};
612 612
613static struct usb_serial_driver * const serial_drivers[] = { 613static struct usb_serial_driver * const serial_drivers[] = {