mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-24 15:52:02 +00:00
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
|
|
index 5352cd7..4bd64db 100644
|
|
--- a/drivers/mmc/core/mmc.c
|
|
+++ b/drivers/mmc/core/mmc.c
|
|
@@ -262,12 +262,6 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
|
}
|
|
|
|
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
|
|
- if (card->ext_csd.rev > 6) {
|
|
- pr_err("%s: unrecognised EXT_CSD revision %d\n",
|
|
- mmc_hostname(card->host), card->ext_csd.rev);
|
|
- err = -EINVAL;
|
|
- goto out;
|
|
- }
|
|
|
|
card->ext_csd.raw_sectors[0] = ext_csd[EXT_CSD_SEC_CNT + 0];
|
|
card->ext_csd.raw_sectors[1] = ext_csd[EXT_CSD_SEC_CNT + 1];
|
|
@@ -534,7 +528,6 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
|
card->ext_csd.data_tag_unit_size = 0;
|
|
}
|
|
}
|
|
-
|
|
out:
|
|
return err;
|
|
}
|
|
diff --git a/drivers/mmc/host/sunxi-mci.c b/drivers/mmc/host/sunxi-mci.c
|
|
index fec9b7f..a5251b0 100644
|
|
--- a/drivers/mmc/host/sunxi-mci.c
|
|
+++ b/drivers/mmc/host/sunxi-mci.c
|
|
@@ -2011,10 +2011,9 @@ static struct sunxi_mmc_platform_data sw_mci_pdata[4] = {
|
|
#endif
|
|
| MMC_CAP_SDIO_IRQ
|
|
| MMC_CAP_SET_XPC_330 | MMC_CAP_DRIVER_TYPE_A,
|
|
- .caps2 = MMC_CAP2_HS200_1_8V_SDR,
|
|
.f_min = 400000,
|
|
- .f_max = 120000000,
|
|
- .f_ddr_max = 50000000,
|
|
+ .f_max = 50000000,
|
|
+ .f_ddr_max = 47000000,
|
|
.dma_tl= 0x20070008,
|
|
},
|
|
[3] = {
|