From patchwork Sun Jun 10 18:54:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Knibbs X-Patchwork-Id: 10456711 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 BBAE660234 for ; Sun, 10 Jun 2018 18:54:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC0C426E78 for ; Sun, 10 Jun 2018 18:54:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F58626E7B; Sun, 10 Jun 2018 18:54:25 +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 48DA226E78 for ; Sun, 10 Jun 2018 18:54:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753719AbeFJSyU (ORCPT ); Sun, 10 Jun 2018 14:54:20 -0400 Received: from mout.gmx.com ([74.208.4.200]:43845 "EHLO mout.gmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753714AbeFJSyT (ORCPT ); Sun, 10 Jun 2018 14:54:19 -0400 Received: from [95.146.146.3] ([95.146.146.3]) by 3c-app-mailcom-lxa07.server.lan (via HTTP); Sun, 10 Jun 2018 20:54:09 +0200 MIME-Version: 1.0 Message-ID: From: "Mark Knibbs" To: linux-usb@vger.kernel.org Cc: "Greg KH" , "Alan Stern" Subject: [PATCH v3] storage: Widen bcdDevice range for SanDisk SDDR-31 quirk Date: Sun, 10 Jun 2018 20:54:09 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20180607202333.GA9387@kroah.com> References: <20180607202333.GA9387@kroah.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:3CCoIv/lUJ5k3S5g/c1qCZ2mHTHHbDywgryiEmvw8Ed A60NrF0ybr4tPdYbNlvY8gmxgDChXn4xD8iIa9nsgL+Z3BzBwh 2hmGS/z6FxWw7Q26McYkl90WxUHMnMLW/v3J/Zoz4/8s5k1xo/ Ugx+iNjfasQTlvSc0t21J4dKj0eTj12dJq0VUUHF00pusB6ipq 41TZ8d6ei5ZFbL1YyWLk2kLBoYUURELZx0naoqEsE20whnV+X+ +/wAR7GnMhBIxixj9JSvI+HJMppI93Yj7edDmE5XGgGz56nsAk VIlCOk= X-UI-Out-Filterresults: notjunk:1; V01:K0:b2rQhZuOQwQ=:yX1g5MOU+rvdMnD6IROwRj iNEzbw7RpwvJWerksuZU/ZVC5XGz7mzB1Cw+VAOW47AE4CNkf311/jCKGJLMUvo/YT1B9Iuzr aBW6y2GApDO6efM2QfkOOLe07aozKqZ5miEBgS6OKTjAbiXFhwdEKNen+4zhozIMkcsRvjmRQ 13dO7cYEfLmNH+sCFJW0iilz3WcPjHRNtWrY0T1eMP8yoZ438ICXfh//BOFejpwjIJwAq5scA lLrXCimpnLP+jutdW4+3SmrOZsqOxXJPQuG0eucC2JiRot6rDoVnDmaWSOx/BfF0RSmuyeekt 0BOs6PEjdV9gt1GjPFp2GvSaFFN9NuuO0iiXEZHMiIDyg4kh5d5YzJ/rd6x9J1o9V4R0mcgR3 7ip254qzNOA2hgztrOkfVSRqcFOc9oN/kbzAT0aAhpZtUa5/2zg1Zj56OK4eIvxjwPqPfwWSq /1QzMowUFAEiujIO6mbMAh2MNZeJihplqQqPXusca0LvVn++ICrV 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 When I re-sent the patch with tabs I accidentally left the new maximum bcdDevice at 0x00ff. Sorry! Hopefully this is finally OK. 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 --- -- 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,