Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752358AbaBLJ7A (ORCPT ); Wed, 12 Feb 2014 04:59:00 -0500 Received: from rtits2.realtek.com ([60.250.210.242]:39981 "EHLO rtits2.realtek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788AbaBLJ64 (ORCPT ); Wed, 12 Feb 2014 04:58:56 -0500 X-SpamFilter-By: BOX Solutions SpamTrap 5.39 with qID s1C9wBCh010932, This message is accepted by code: ctloc85258 From: To: Samuel Ortiz , Lee Jones , Chris Ball , Greg Kroah-Hartman , Maxim Levitsky , Alex Dubov , Dan Carpenter , Ulf Hansson CC: , , , , , Subject: [PATCH v4 0/3] Add modules for realtek USB card reader Date: Wed, 12 Feb 2014 18:00:35 +0800 Message-ID: <1392199238-14500-1-git-send-email-rogerable@realtek.com> X-Mailer: git-send-email 1.8.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.81.189] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roger Tseng This patchset adds modules to support Realtek USB vendor specific class flash card reader: one base module in MFD subsystem and two host modules in both mmc and memstick subsystems. The architecture is similar to rtsx_pci. This work is done primarily to replace the staging driver: staging/rts5139, which doesn't utilize mmc nor memstick subsystems. Once the patchset or its revision is applied, we may need Greg's help to remove the staging one. v2: 1. Fix potential buffer overflow in rtsx_usb_seq_write_register() 2. Remove unnecessary casting and messages 3. Revise coding style and white spaces v3: 1. Fix MMC detection fail when under xhci 2. Minor change of pm_runtime behavior in rtsx_usb_ms to prevent some rare freeze due to erroneous Memstick card(not MS-Pro) 3. Further revise coding style as suggested in the thread of v2 4. Using managed resources: devm_* 5. Change license from "GPL v2 and later" to "GPL v2" v4: 1. Remove invocations to deprecated/removed mmc_suspend|resume_host APIs and unnecessary platform device pm routines 2. Support CRC-ignored R1 response for CMD13 in response to commit: a27fbf2f067b0cd6f172c8b696b9a44c58bfaa7a: mmc: add ignorance case for CMD13 CRC error 3. Remove unnecessary #ifdef CONFIG_PM_RUNTIME Roger Tseng (3): mfd: Add realtek USB card reader driver mmc: Add realtek USB sdmmc host driver memstick: Add realtek USB memstick host driver drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile | 1 + drivers/memstick/host/rtsx_usb_ms.c | 836 ++++++++++++++++++++ drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile | 1 + drivers/mfd/rtsx_usb.c | 760 ++++++++++++++++++ drivers/mmc/host/Kconfig | 7 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/rtsx_usb_sdmmc.c | 1462 +++++++++++++++++++++++++++++++++++ include/linux/mfd/rtsx_usb.h | 628 +++++++++++++++ 10 files changed, 3716 insertions(+) create mode 100644 drivers/memstick/host/rtsx_usb_ms.c create mode 100644 drivers/mfd/rtsx_usb.c create mode 100644 drivers/mmc/host/rtsx_usb_sdmmc.c create mode 100644 include/linux/mfd/rtsx_usb.h -- 1.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/