Skip to content

Commit

Permalink
USB: serial: ch341: make the reset_resume callback actually work.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed May 16, 2012
1 parent 4502798 commit 1c1eaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/ch341.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ static struct usb_serial_driver ch341_device = {
.tiocmset = ch341_tiocmset,
.read_int_callback = ch341_read_int_callback,
.attach = ch341_attach,
.resume = ch341_reset_resume,
.reset_resume = ch341_reset_resume,
};

static struct usb_serial_driver * const serial_drivers[] = {
Expand Down

0 comments on commit 1c1eaba

Please sign in to comment.