From patchwork Thu Jun 7 19:54:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Knibbs X-Patchwork-Id: 10453467 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 DA44D60146 for ; Thu, 7 Jun 2018 19:55:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C803129835 for ; Thu, 7 Jun 2018 19:55:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B15F29DBF; Thu, 7 Jun 2018 19:55:03 +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 0666E29C99 for ; Thu, 7 Jun 2018 19:54:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753561AbeFGTyu (ORCPT ); Thu, 7 Jun 2018 15:54:50 -0400 Received: from mout.gmx.com ([74.208.4.200]:34877 "EHLO mout.gmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753140AbeFGTyu (ORCPT ); Thu, 7 Jun 2018 15:54:50 -0400 Received: from [95.146.146.3] ([95.146.146.3]) by 3c-app-mailcom-lxa16.server.lan (via HTTP); Thu, 7 Jun 2018 21:54:45 +0200 MIME-Version: 1.0 Message-ID: From: "Mark Knibbs" To: linux-usb@vger.kernel.org Subject: [PATCH v2] storage: Widen bcdDevice range for SanDisk SDDR-31 quirk Date: Thu, 7 Jun 2018 21:54:45 +0200 Importance: normal Sensitivity: Normal References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:m+wibVmAZaqh521fJ4t2riSZHSfFcyBiEeAzDpvpdOL 56xJcBE/VS4wSYXySFHTxmyA6YuMevDoxMGa7uBGrempqv9TLI v3KqMEm52qkANoGoxX5BIHm3kKe3UTlFyZvy5UPdPNf/6HMa6D 5mVN6bZ7Q+qBci2h1kC65XKfouhZwA2ABrWAEW6SPcfBElmwZd 2B42fxXqVOBgt7pOg3r4yD+d1Dm3vN4FXw+VD0sT0SWVSurgGp wFhim9QOWm8mmU1QjSrAlvKn8TGHRIuUjKxwHCqp/CWum5rrP9 A6fOF8= X-UI-Out-Filterresults: notjunk:1; V01:K0:V++c9cNyzA4=:uX84U2pJxp5oaTSjNRvR5T R/gNR2hmv+sbKgRuWPcI3znVH0CkJrmrO963QV2wHIjuyQPEc+F07T0aLZPEUTuLKx56OZLgJ 1J8hm0xAUy9IPWLS87Xtns5Nsox+0vPaBnF7JD5r002TumszIdXPAsNGGklBHd2b9hilQUsKo wCjrK4FhFSFHuhNeG/+2+v0YucMj7m8gl6Q2L2Q13pyafODgjeQocnTw+IeoA879vv+aTOi4G oop+fKDNkH9l6UrDU9QzvTdc48N1VM5bqP6J1vHxwaEqm4no5iZ89XPn7s4ykmrRqD12l0omc Kxqgoj1+w2Gvn3HnclNMM/Nr1jTIQTkBBUESeSgafT5MgOYfqwJSsKNlWpvzY3My3TCS7iprK p8e4/WV0DIBIrbsYE6Dg5AdsonLOgA4aUKkp/cOnHU7yX0rseM/sQFyKYO82KCL1n2FpWRHXs 8tbLNBoqoDv68l4xfiDQbxGk/EhU2JbFsO/M9KPkUdK7qb4piZuP 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 Acked-by: Alan Stern --- -- 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,