Skip to content

Commit

Permalink
mmc: unbreak sdhci-esdhc-imx on i.MX25
Browse files Browse the repository at this point in the history
This was broken by me in 37865fe
("mmc: sdhci-esdhc-imx: fix timeout on i.MX's sdhci") where more
extensive tests would have shown that read or write of data to the
card were failing (even if the partition table was correctly read).

Signed-off-by: Eric Bénard <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
  • Loading branch information
Eric Bénard authored and cjb committed Apr 21, 2012
1 parent 5ca6518 commit b891528
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mmc/host/sdhci-esdhc-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,7 @@ static int __devinit sdhci_esdhc_imx_probe(struct platform_device *pdev)
clk_prepare_enable(clk);
pltfm_host->clk = clk;

if (!is_imx25_esdhc(imx_data))
host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;

if (is_imx25_esdhc(imx_data) || is_imx35_esdhc(imx_data))
/* Fix errata ENGcm07207 present on i.MX25 and i.MX35 */
Expand Down

0 comments on commit b891528

Please sign in to comment.