From patchwork Wed Jun 13 13:08:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Knibbs X-Patchwork-Id: 10462217 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B8946603B4 for ; Wed, 13 Jun 2018 13:08:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2E12287FB for ; Wed, 13 Jun 2018 13:08:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9753C28803; Wed, 13 Jun 2018 13:08:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DEBA287FB for ; Wed, 13 Jun 2018 13:08:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935429AbeFMNIz (ORCPT ); Wed, 13 Jun 2018 09:08:55 -0400 Received: from mout.gmx.com ([74.208.4.200]:43609 "EHLO mout.gmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935348AbeFMNIz (ORCPT ); Wed, 13 Jun 2018 09:08:55 -0400 Received: from [95.151.156.223] ([95.151.156.223]) by 3c-app-mailcom-lxa11.server.lan (via HTTP); Wed, 13 Jun 2018 15:08:46 +0200 MIME-Version: 1.0 Message-ID: From: "Mark Knibbs" To: linux-usb@vger.kernel.org Cc: "Alan Stern" , "Greg KH" Subject: Re: [PATCH v3] storage: Widen bcdDevice range for SanDisk SDDR-31 quirk Date: Wed, 13 Jun 2018 15:08:46 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20180611070822.GA9472@kroah.com> References: <20180607202333.GA9387@kroah.com> <20180611070822.GA9472@kroah.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:nix65UgD7XODpnuRrdXjs88fAk+YLsoGOrE/o/dgfoD l7Wr9uk26HmEZbBeN/1jt3eYIaffeqyJd3HrUH+wJkCK0Fj6j6 YFJ1xPaiFZWi0CAf4suW1GZ8ah0/Tf26GOI91AguYjIixjZvPf GkDSDJk0l5sSMFeO3n5hCJu+jOnS2FuqzYcr9PBUHbs3LoVHrm apaNI3MOpKAGK9kg/qr8/IBCF0Wvcu0Me4j1UUFfbnWGN+m8LZ KKfUWp7vJjd2D7LZ42A+GS1H5bAPz4rBcXiM+aWOSaZb20bt7A yk47xo= X-UI-Out-Filterresults: notjunk:1; V01:K0:ipus4xCLEQ0=:3u4341168eH8PgMDBNNlI3 novNBwFsh5aZqOPhimhUiWjQ/OMaE06QPgqZXpG4ts1JcjCYg8ltwNaEt39Zrat9eTog4B9IC 9o6wD9PYnNT+UMudsiIyWznQ68LmjasJym29VjOJdjzVZlZ7nGU70UnYZsRD2uwhavG8Ziyo8 kyU1ba97bE/IsYpm5cPFmHn+Zo8f34TxFV+IqJAbrla+RtsOO9xL+2Ukfef8CtQe//GmGqYBX kfjb4qlnnQU/FjEBGuPbRn3raUthW6eNZWtbOGDYnFUbjBNmiJwgjhiJngneX9eQqmu7/+JjT b5ivtB9HA6D0wYn1VdYaa3kWbVWvKTZjg4jbevC3DnPQAgM4itIMjqP+DMzgkoKtpchF3RA+h u9X6dA45jyDgiGA4gbbQzFjVq3dFaH9YYrrdTKvM5KIVQE9QBB4bcZIcOA7lMwkpJY4BVn59p TWdXJs08ld4O6r0F50yXXvO8RB/hNVP3K9z5GRE0hjqULP0IFH57 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The SanDisk SDDR-31 needs the US_FL_FIX_CAPACITY quirk. Previously that was only applied for bcdDevice 0x0009, but later firmware which reports bcdDevice 0x0022 needs it too. Signed-off-by: Mark Knibbs --- v4: Max. bcdDevice is 0x0022 again, removed extraneous text v3: Fixed tabs, but accidentally reverted max. bcdDevice to 0x00FF v2: Changed maximum bcdDevice to 0x0022 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 747d3a9..dfcceaf 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h @@ -1044,7 +1044,7 @@ UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200, USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN ), -UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009, +UNUSUAL_DEV( 0x0781, 0x0002, 0x0000, 0x0022, "SanDisk Corporation", "ImageMate CompactFlash USB", USB_SC_DEVICE, USB_PR_DEVICE, NULL,