]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcff77d83a3bdc7eee7d49f81411d025d1cb0cb0f
tree1d32732e0a829c63b1b4c91ce541b98a147cf75f
parent07de77c19e396cbe64ce6147e862f06ceb3227ac
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