[PATCH] sdhci: poll for card even when card is logically unremovable

2012-07-05 Thread Daniel Drake
The Marvell CaFe is now marked as having bad card detection to fix a problem during system resume. Now on the OLPC XO-1 we are facing the issue that the card is marked as logically unremovable (via MMC_UNSAFE_RESUME), which means that mmc_card_is_removable considers the card non-removable. The exi

[PATCH v1 2/2] mmc: sdhci-dove: Prepare for common clock framework

2012-07-05 Thread Sebastian Hesselbarth
As mach-dove is moving towards common clock framework prepare the sdhci driver to grab it's clock. Signed-off-by: Sebastian Hesselbarth Cc: Chris Ball Cc: Anton Vorontsov Cc: Shawn Guo Cc: Viresh Kumar Cc: Manuel Lauss Cc: linux-mmc@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc

[PATCH v1 1/2] mmc: sdhci-dove: Add SDHCI_QUIRK_NO_HISPD_BIT

2012-07-05 Thread Sebastian Hesselbarth
The sdio controller on dove doesn't have a bit to indicate high-speed. With the quirk set it fixes accessing high-speed sdcards. Signed-off-by: Sebastian Hesselbarth Cc: Chris Ball Cc: Anton Vorontsov Cc: Shawn Guo Cc: Viresh Kumar Cc: Manuel Lauss Cc: linux-mmc@vger.kernel.org Cc: linux-arm