]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: fix up reset_resume callback
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 May 2012 15:37:17 +0000 (08:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 May 2012 15:37:17 +0000 (08:37 -0700)
commit9ce6c0051c4db985c5a5cd3ebd4f297ea0c117da
tree69c42cba689d31a3ac1115c7e1a5e30bd2bc06cf
parent4f7887a23035d3f4295830ee5b6ceb05e5b93c4c
USB: serial: fix up reset_resume callback

If the usb-serial driver doesn't have a reset_resume callback, then we
need to tell the USB core that it doesn't, and it needs to rebind the
device.

Thanks to Alan for pointing out my mistake, and providing the fix.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb-serial.c