usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 30 Jan 2014 15:20:29 +0000 (10:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Feb 2014 18:32:46 +0000 (10:32 -0800)
commit2aac5d817f6b063a511e6f6270efe861e04b94a2
tree8579858cbedb0a94342055936f54e07753654e84
parent65404686fff96a6f84f86628d86686b702faeda1
usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB

commit a9c143c82608bee2a36410caa56d82cd86bdc7fa upstream.

The Cypress ATACB unusual-devs entry for the Super Top SATA bridge
causes problems.  Although it was originally reported only for
bcdDevice = 0x160, its range was much larger.  This resulted in a bug
report for bcdDevice 0x220, so the range was capped at 0x219.  Now
Milan reports errors with bcdDevice 0x150.

Therefore this patch restricts the range to just 0x160.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Milan Svoboda <milan.svoboda@centrum.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/unusual_cypress.h