From: Greg Kroah-Hartman Date: Wed, 16 May 2012 15:36:13 +0000 (-0700) Subject: USB: serial: ch341: make the reset_resume callback actually work. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c1eaba8e72768156db4faff3a2c3a6ca7dea129;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Cc: Johan Hovold Cc: Rusty Russell Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- 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 = { .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[] = {