[PATCH] USB Storage: HP8200: Another device type detection fix
commita8798533c1f876b97566588cf2bf52458cb4a35d
authorDaniel Drake <dsd@gentoo.org>
Wed, 28 Sep 2005 23:14:21 +0000 (29 00:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:43 +0000 (28 16:47 -0700)
tree076e498708a5efeb3e9234facb86ed15bc5a2dd0
parentd40ece1dc8dcc89ab921755cbc93a5cfb46d0766
[PATCH] USB Storage: HP8200: Another device type detection fix

There appears to be one more case where the HP8200 CD writer devices are
detected as flash readers - when the USB cable is replugged after use, with
the power cable still connected.

Oddly enough, the identify device command appears to 'fall through' when the
devices are in this state, the status register reading exactly the same opcode
as the command (0xA1) that was just executed.

I think it's safe to label this behaviour as specific to HP8200 devices, I
can't get the flash devices to respond like this.

This patch should solve the last of the HP8200 issues which have cropped up
recently.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/usb/storage/shuttle_usbat.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/usb/storage/shuttle_usbat.c