[PATCH] mmc: sdhci-s3c: Fix mmc card I/O problem
From: Chris Ball <hidden>
Date: 2011-08-28 18:11:19
Also in:
linux-mmc, linux-samsung-soc
From: Chris Ball <hidden>
Date: 2011-08-28 18:11:19
Also in:
linux-mmc, linux-samsung-soc
Hi, On Fri, Aug 26 2011, Girish K S wrote:
This patch fixes the problem in sdhci-s3c host driver for Samsung Soc's. During the card identification stage the mmc core driver enumerates for the best bus width in combination with the highest available data rate. It starts enumerating from the highest bus width (8) to lowest bus width (1). In case of few MMC cards the 4-bit bus enumeration fails and tries the 1-bit bus enumeration. When switched to 1-bit bus mode the host driver has to clear the previous bus width setting and apply the new setting. The current patch will clear the previous bus mode and apply the new mode setting. Signed-off-by: Girish K S <redacted>
Thanks, pushed to mmc-next for 3.1 with a stable@ tag. - Chris. -- Chris Ball [off-list ref] <http://printf.net/> One Laptop Per Child