[PATCH 1/4] mmc: sdhci: fix interrupt storm from card detection

2011-06-10 Thread Shawn Guo
The issue was initially found by Eric Benard as below. http://permalink.gmane.org/gmane.linux.ports.arm.kernel/108031 Not sure about other SDHCI based controller, but on Freescale eSDHC, the SDHCI_INT_CARD_INSERT bits will be immediately set again when it gets cleared, if a card is inserted. The

[PATCH 3/4] mmc: sdhci-esdhc-imx: remove WP from flag ESDHC_FLAG_GPIO_FOR_CD_WP

2011-06-10 Thread Shawn Guo
The use of flag ESDHC_FLAG_GPIO_FOR_CD_WP is all CD related. It does not necessarily need to bother WP in the flag name. Signed-off-by: Shawn Guo shawn@linaro.org --- drivers/mmc/host/sdhci-esdhc-imx.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 4/4] mmc: sdhci-esdhc-imx: extend card_detect and write_protect support

2011-06-10 Thread Shawn Guo
The patch extends card_detect and write_protect support to get mx5 family and more scenarios supported. The changes include: * Turn platform_data from optional to mandatory * Add cd_types and wp_types into platform_data to cover more use cases * Remove the use of flag

mxs-mmc: sdio not working, keep resetting

2011-06-10 Thread Beel, Koen
Hi all, We are using a Freescale i.MX233 and are running on mainline Linux. A wifi chip company (Redpine Signals) is doing a port of their sdio driver for their Wifi module for our platform. But they are running into problems with the sdio. We have tested the mxs-mmc port using normal sd card

Re: [PATCH] mmc: sdio: reset card during power_restore

2011-06-10 Thread Daniel Drake
power cycles. Patches here: http://dev.laptop.org/~dsd/20110610/ The most relevant ones for this discussion are 6 and 7. What next? Daniel -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: MMC runtime PM patches break libertas probe

2011-06-10 Thread zhangfei gao
On Fri, Jun 10, 2011 at 12:28 PM, Ohad Ben-Cohen o...@wizery.com wrote: Hi Zhangfei, On Fri, Jun 10, 2011 at 5:02 AM, zhangfei gao zhangfei@gmail.com wrote: Here is answer got from the sd8686 maintainer. For 8686, the SDIO state machine can only handle init sequence (CMD5, 5, 3, 7) from