diff mbox series

usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Message ID 21c2b8ee-7753-413e-98f9-d1401edf5c73@gmail.com (mailing list archive)
State Superseded
Headers show
Series usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility | expand

Commit Message

LihaSika Oct. 27, 2023, 1:41 p.m. UTC
Change lower bcdDevice value for "Super Top USB 2.0  SATA BRIDGE" to match
1.50. I have such an older device with bcdDevice=1.50 and it will not work
otherwise.

Cc: stable@vger.kernel.org
Signed-off-by: Liha Sikanen <lihasika@gmail.com>
---

Comments

Greg KH Oct. 27, 2023, 1:53 p.m. UTC | #1
On Fri, Oct 27, 2023 at 04:41:23PM +0300, LihaSika wrote:
> Change lower bcdDevice value for "Super Top USB 2.0  SATA BRIDGE" to match
> 1.50. I have such an older device with bcdDevice=1.50 and it will not work
> otherwise.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Liha Sikanen <lihasika@gmail.com>
> ---
> 
> diff --git a/drivers/usb/storage/unusual_cypress.h b/drivers/usb/storage/unusual_cypress.h
> index 0547daf..7b3d5f0 100644
> --- a/drivers/usb/storage/unusual_cypress.h
> +++ b/drivers/usb/storage/unusual_cypress.h
> @@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
>           "Cypress ISD-300LP",
>           USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
> 
> -UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
> +UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
>           "Super Top",
>           "USB 2.0  SATA BRIDGE",
>           USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
> 

Much better, thanks, the subject and changelog text are great!

But the patch is still corrupted, with tabs turned into spaces, and we
can't apply it at all :(

Can you fix that up and resend?

thanks,

greg k-h
LihaSika Oct. 27, 2023, 5:26 p.m. UTC | #2
On 27.10.2023 16.53, Greg KH wrote:
> 
> Much better, thanks, the subject and changelog text are great!
> 
> But the patch is still corrupted, with tabs turned into spaces, and we
> can't apply it at all :(
> 
> Can you fix that up and resend?
> 
> thanks,
> 
> greg k-h


My apologies for the extra trouble and thank you for your patience 
diff mbox series

Patch

diff --git a/drivers/usb/storage/unusual_cypress.h b/drivers/usb/storage/unusual_cypress.h
index 0547daf..7b3d5f0 100644
--- a/drivers/usb/storage/unusual_cypress.h
+++ b/drivers/usb/storage/unusual_cypress.h
@@ -19,7 +19,7 @@  UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
           "Cypress ISD-300LP",
           USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
           "Super Top",
           "USB 2.0  SATA BRIDGE",
           USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),