X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/16b0a08bad5d92c63881a65f8bdf393a68286386..9da7868465f5ba68cd6efd12172c61bf0f1c2001:/target/linux/kirkwood/patches/002-mvsdio_delay.patch diff --git a/target/linux/kirkwood/patches/002-mvsdio_delay.patch b/target/linux/kirkwood/patches/002-mvsdio_delay.patch index ee730306a..ba2885360 100644 --- a/target/linux/kirkwood/patches/002-mvsdio_delay.patch +++ b/target/linux/kirkwood/patches/002-mvsdio_delay.patch @@ -1,6 +1,6 @@ --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c -@@ -263,6 +263,15 @@ static int mmc_switch_hs(struct mmc_card +@@ -332,6 +332,15 @@ int mmc_sd_switch_hs(struct mmc_card *ca return -ENOMEM; } @@ -16,23 +16,9 @@ err = mmc_sd_switch(card, 1, 0, 1, status); if (err) goto out; ---- a/drivers/mmc/host/mvsdio.c -+++ b/drivers/mmc/host/mvsdio.c -@@ -620,9 +620,11 @@ static void mvsd_set_ios(struct mmc_host - if (ios->bus_width == MMC_BUS_WIDTH_4) - ctrl_reg |= MVSD_HOST_CTRL_DATA_WIDTH_4_BITS; - -+#if 0 - if (ios->timing == MMC_TIMING_MMC_HS || - ios->timing == MMC_TIMING_SD_HS) - ctrl_reg |= MVSD_HOST_CTRL_HI_SPEED_EN; -+#endif - - host->ctrl = ctrl_reg; - mvsd_write(MVSD_HOST_CTRL, ctrl_reg); --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c -@@ -286,9 +286,9 @@ void mmc_set_data_timeout(struct mmc_dat +@@ -303,9 +303,9 @@ void mmc_set_data_timeout(struct mmc_dat * The limit is really 250 ms, but that is * insufficient for some crappy cards. */