Re: [PATCH RESEND] mmc: Delay the card_event callback into the mmc_rescan worker

2014-04-09 Thread Ulf Hansson
On 9 April 2014 00:19, Markus Mayer markus.ma...@linaro.org wrote: This change removes the callback from atomic context which it doesn't need to be in, and puts it in line with the debounced rescan. This code is based on these e-mail threads with Christian Daudt:

Re: [PATCH] mmc: card.h: Use NULL instead of 0 for END_FIXUP

2014-04-09 Thread Ulf Hansson
On 5 April 2014 03:42, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following sparse warnings: drivers/mmc/card/block.c:2421:9: warning: Using plain integer as NULL pointer drivers/mmc/core/quirks.c:69:9: warning: Using plain integer as

Re: [PATCH v2] mmc: core: Use maximum timeout values in case TACC field is zero

2014-04-09 Thread Ulf Hansson
On 3 April 2014 17:32, Stefan Wahren stefan.wah...@i2se.com wrote: When plugging a specific micro SD card at MMC socket of a custom i.MX28 board, we get the following kernel warning: WARNING: CPU: 0 PID: 30 at drivers/mmc/host/mxs-mmc.c:342 mxs_mmc_start_cmd+0x34c/0x378() Modules linked in:

Re: [PATCH RESEND] mmc: Convert to use ATTRIBUTE_GROUPS

2014-04-09 Thread Ulf Hansson
On 8 March 2014 08:05, Axel Lin axel@ingics.com wrote: Use new ATTRIBUTE_GROUPS macro to declare attribute groups. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/mmc.c | 12 ++-- drivers/mmc/core/sd.c | 12

Re: [PATCH v2 1/2] regulator: pbias: Fix is_enabled callback implementation

2014-04-09 Thread Axel Lin
2014-04-02 8:26 GMT+08:00 Axel Lin axel@ingics.com: 2014-03-08 11:55 GMT+08:00 Axel Lin axel@ingics.com: The is_enabled implementation is wrong in some cases: e.g. for pbias_mmc_omap5: enable_mask is : BIT(27) | BIT(25) | BIT(26) However, pbias_regulator_enable() only sets BIT(27) |

Re: [PATCH] mmc: card.h: Use NULL instead of 0 for END_FIXUP

2014-04-09 Thread Ben Dooks
On 09/04/14 10:33, Ulf Hansson wrote: On 5 April 2014 03:42, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following sparse warnings: drivers/mmc/card/block.c:2421:9: warning: Using plain integer as NULL pointer

[PATCH v8] mmc: moxart: Add MOXA ART SD/MMC driver

2014-04-09 Thread Jonas Jensen
=drivers/mmc/ftsdc010_mci.c Applies to next-20140409 .../devicetree/bindings/mmc/moxa,moxart-mmc.txt| 30 + drivers/mmc/host/Kconfig | 9 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/moxart-mmc.c | 730

Re: [PATCH 0/2] add support of O2Mirco/BayHubTech SD hosts

2014-04-09 Thread Frank A. Kingswood
On 12/01/14 16:28, Chris Ball wrote: Hi, thanks for doing this, On Wed, Dec 18 2013, Adam Lee wrote: BugLink: http://bugs.launchpad.net/bugs/1239938 Card readers on Lenovo ThinkPad W540, Dell Latitude E5440 and Dell Latitude E6540 don't work without this patch. Dell E7240 has an O2Micro

[RFC PATCH 1/1 v3 ]mmc: Support-FFU-for-eMMC-v5.0

2014-04-09 Thread Avi Shchislowski
Add Support to Field Firmware Update (FFU) for eMMC v5.0 and up devices. The code implemented according to JEDEC eMMC spec - JESD84-B50.pdf http://www.jedec.org/standards-documents/technology-focus-areas/flash-memory-ssds-ufs-emmc/e-mmc Signed-off-by: Avi Shchislowski

[RFC PATCH 1/1 v2] mmc-utils: Support-sending-eMMC-5.0-FFU

2014-04-09 Thread Avi Shchislowski
The mmc-utils was modified to invoke eMMC5.0 Field Firmware Update (FFU) process in mmc driver New command was add: do_emmc50_ffu. This patch depends on patch mmc: Support-FFU-for-eMMC-v5.0 Committed by Avi Shchislowski avi.shchislow...@sandisk.com FFU will be done in two steps. Two new

[RFC PATCH 1/1 v4 ]mmc: Support-FFU-for-eMMC-v5.0

2014-04-09 Thread Avi Shchislowski
Add Support to Field Firmware Update (FFU) for eMMC v5.0 and up devices. The code implemented according to JEDEC eMMC spec - JESD84-B50.pdf http://www.jedec.org/standards-documents/technology-focus-areas/flash-memory-ssds-ufs-emmc/e-mmc This patch version (V4) provides udev

[PATCH v6 2/4] [v6 fix] mfd/rtsx_usb: add comment in rtsx_usb_suspend

2014-04-09 Thread rogerable
From: Roger Tseng rogera...@realtek.com Explain why there is no need to have a symmetric LED turn-on in resume handler while calling rtsx_usb_turn_off_led() in suspend handler. Signed-off-by: Roger Tseng rogera...@realtek.com --- drivers/mfd/rtsx_usb.c | 6 ++ 1 file changed, 6

[PATCH v6 1/4] [v6 fix] mfd/rtsx_usb: fix possible race condition

2014-04-09 Thread rogerable
From: Roger Tseng rogera...@realtek.com Fix two possible race condition generated by misuse of del_timer in rtsx_usb_bulk_transfer_sglist() and uninitialized timers before mfd_add_devices in rtsx_usb_probe(). Signed-off-by: Roger Tseng rogera...@realtek.com --- drivers/mfd/rtsx_usb.c | 8

[PATCH v6 4/4] memstick: Add realtek USB memstick host driver

2014-04-09 Thread rogerable
From: Roger Tseng rogera...@realtek.com Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver. Signed-off-by: Roger Tseng rogera...@realtek.com --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile | 1 +

[PATCH v6 0/4] Add modules for realtek USB card reader

2014-04-09 Thread rogerable
From: Roger Tseng rogera...@realtek.com 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

[PATCH v6 3/4] mmc: Add realtek USB sdmmc host driver

2014-04-09 Thread rogerable
From: Roger Tseng rogera...@realtek.com Realtek USB SD/MMC host driver provides mmc host support based on the Realtek USB card reader MFD driver. Signed-off-by: Roger Tseng rogera...@realtek.com --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile |1 +

Re: [PATCH v6 3/4] mmc: Add realtek USB sdmmc host driver

2014-04-09 Thread Ulf Hansson
On 9 April 2014 08:16, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB SD/MMC host driver provides mmc host support based on the Realtek USB card reader MFD driver. Signed-off-by: Roger Tseng rogera...@realtek.com --- drivers/mmc/host/Kconfig |