From patchwork Fri Mar 11 12:28:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herton Ronaldo Krzesinski X-Patchwork-Id: 86414 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id C0182B6F8C for ; Fri, 11 Mar 2011 23:28:50 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Py1SU-0004z3-4Z; Fri, 11 Mar 2011 12:28:42 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Py1SQ-0004yP-P4 for kernel-team@lists.ubuntu.com; Fri, 11 Mar 2011 12:28:38 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Py1SQ-0000NK-3q for ; Fri, 11 Mar 2011 12:28:38 +0000 Received: from [91.189.88.12] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Py1SQ-0003Pk-0w for kernel-team@lists.ubuntu.com; Fri, 11 Mar 2011 12:28:38 +0000 Date: Fri, 11 Mar 2011 12:28:37 +0000 From: Herton Ronaldo Krzesinski To: kernel-team@lists.ubuntu.com Subject: [maverick] SRU: mmc: sdhci-pci: add ricoh e822 pci id with device specific quirks Message-ID: <20110311122837.GA1636@herton-IdeaPad-Y430> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com Buglink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/730820 SRU JUSTIFICATION ================== EFFECT ======= MMC card reader 1180:e822 does not recognize SD/MMC/SDHC cards. FIX === Patch adds RICOH pci id 0xe822 pointing to required specific quirks to make it work. TESTING ======== This patch was tested and reported to work in this ticket. Acked-by: Tim Gardner From 20fdee7962eeea47585132a56b9d1ed8df3ce5c2 Mon Sep 17 00:00:00 2001 From: Pablo Castillo Date: Tue, 10 Aug 2010 18:02:01 -0700 Subject: [PATCH] mmc: sdhci-pci: add ricoh e822 pci id with device specific quirks BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/730820 The card reader with id 1180:e822 also needs same device specific quirks as other ricoh card readers. Signed-off-by: Pablo Castillo Signed-off-by: Stanislaw Gruszka Tested-by: Gregg Lebovitz Cc: Maxim Levitsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds (backport of upstream commit 568133ebda39f7507759a744fa9cf4d5097bad2f) Signed-off-by: Herton Ronaldo Krzesinski --- drivers/mmc/host/sdhci-pci.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index c53b22d..6b75fa8 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -423,6 +423,14 @@ static const struct pci_device_id pci_ids[] __devinitdata = { }, { + .vendor = PCI_VENDOR_ID_RICOH, + .device = 0xe822, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = (kernel_ulong_t)&sdhci_ricoh_mmc, + }, + + { .vendor = PCI_VENDOR_ID_ENE, .device = PCI_DEVICE_ID_ENE_CB712_SD, .subvendor = PCI_ANY_ID, -- 1.7.1