public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ivan Mironov <mironov.ivan@gmail.com>
To: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Martin Liu <liumartin@google.com>,
	YueHaibing <yuehaibing@huawei.com>,
	Mathias Nyman <mathias.nyman@linux.intel.com>,
	Nicolas Boichat <drinkcat@chromium.org>,
	Jon Flatley <jflat@chromium.org>,
	Kai-Heng Feng <kai.heng.feng@canonical.com>,
	Benson Leung <bleung@chromium.org>,
	Harry Pan <harry.pan@intel.com>,
	Jack Stocker <jackstocker.93@gmail.com>,
	Danilo Krummrich <danilokrummrich@dk-develop.de>,
	Samuel Sadok <samuel.sadok@bluewin.ch>,
	Ivan Mironov <mironov.ivan@gmail.com>
Subject: [RFC PATCH 2/2] usb: quirks: Add quirk to fix card reader and suspend on MacBooks
Date: Thu, 14 Feb 2019 02:13:23 +0500	[thread overview]
Message-ID: <20190213211323.6072-3-mironov.ivan@gmail.com> (raw)
In-Reply-To: <20190213211323.6072-1-mironov.ivan@gmail.com>

This enabled USB_QUIRK_DISABLE_LINK_ON_SUSPEND for the embedded SD card
reader used in Apple MacBook laptops.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=111201
Link: https://bugzilla.kernel.org/show_bug.cgi?id=202509
Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
---
 drivers/usb/core/quirks.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index c26ba784dc54..818f949ff1b9 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -310,6 +310,10 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* appletouch */
 	{ USB_DEVICE(0x05ac, 0x021a), .driver_info = USB_QUIRK_RESET_RESUME },
 
+	/* Apple Card Reader */
+	{ USB_DEVICE(0x05ac, 0x8406), .driver_info =
+	  USB_QUIRK_DISABLE_LINK_ON_SUSPEND },
+
 	/* Genesys Logic hub, internally used by KY-688 USB 3.1 Type-C Hub */
 	{ USB_DEVICE(0x05e3, 0x0612), .driver_info = USB_QUIRK_NO_LPM },
 
-- 
2.20.1


  parent reply	other threads:[~2019-02-13 21:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13 21:13 [RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks Ivan Mironov
2019-02-13 21:13 ` [RFC PATCH 1/2] usb: core: Add support of disabling SS link before system suspend Ivan Mironov
2019-02-13 21:13 ` Ivan Mironov [this message]
2019-02-14  1:40 ` [RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks Ivan Mironov
2019-02-14 17:32   ` Ivan Mironov
2019-02-25 13:52     ` Ivan Mironov
2019-02-14 15:03 ` Mathias Nyman
2019-02-14 17:20   ` Ivan Mironov
2019-02-18 18:50 ` Eric Blau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190213211323.6072-3-mironov.ivan@gmail.com \
    --to=mironov.ivan@gmail.com \
    --cc=bleung@chromium.org \
    --cc=danilokrummrich@dk-develop.de \
    --cc=drinkcat@chromium.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=harry.pan@intel.com \
    --cc=jackstocker.93@gmail.com \
    --cc=jflat@chromium.org \
    --cc=kai.heng.feng@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=liumartin@google.com \
    --cc=mathias.nyman@linux.intel.com \
    --cc=samuel.sadok@bluewin.ch \
    --cc=stern@rowland.harvard.edu \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox