USB: Speedtouch: add pre_reset and post_reset routines
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 20 Oct 2008 13:52:12 +0000 (09:52 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 17:05:28 +0000 (10:05 -0700)
commit8fc7aeab3851ed8c3ecf28901ca2c6f0400955c7
tree1d32732e0a829c63b1b4c91ce541b98a147cf75f
parent8aafdf6a1528b0672a0527be473d9be5a12289d3
USB: Speedtouch: add pre_reset and post_reset routines

This patch (as1150) fixes a problem in the speedtch driver.  When it
resets the modem during probe it will be unbound from the other
interfaces it has claimed, because it doesn't define a pre_reset and a
post_reset method.

The patch defines "do-nothing" methods.  This fixes Bugzilla #11767.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/speedtch.c