Commit 1c1eaba8e72768156db4faff3a2c3a6ca7dea129

Authored by Greg Kroah-Hartman
1 parent 450279822f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/usb/serial/ch341.c
... ... @@ -607,7 +607,7 @@
607 607 .tiocmset = ch341_tiocmset,
608 608 .read_int_callback = ch341_read_int_callback,
609 609 .attach = ch341_attach,
610   - .resume = ch341_reset_resume,
  610 + .reset_resume = ch341_reset_resume,
611 611 };
612 612  
613 613 static struct usb_serial_driver * const serial_drivers[] = {