Skip to content

Commit 89c31c8

Browse files
committed
ARC: [axs10x] fix SD cards support (STAR 9000799830)
As DW Mobile Storage databook says it's required to use "Hold Register" if card is enumerated in SDR12 or SDR25 modes. It means we need to act in the same was as in Rockchip and Socfpga implementations - set "use hold reg" bit in commad. Note that for upstream proper solution would be to remove dw_mci_pltfm_prepare_command() at all and set the bit right in dw_mci_prepare_command() for all platforms. Signed-off-by: Alexey Brodkin <[email protected]>
1 parent 0f5ab67 commit 89c31c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/mmc/host/dw_mmc-pltfm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ SIMPLE_DEV_PM_OPS(dw_mci_pltfm_pmops, dw_mci_pltfm_suspend, dw_mci_pltfm_resume)
8989
EXPORT_SYMBOL_GPL(dw_mci_pltfm_pmops);
9090

9191
static const struct of_device_id dw_mci_pltfm_match[] = {
92-
{ .compatible = "snps,dw-mshc", },
92+
{ .compatible = "snps,dw-mshc",
93+
.data = &rockchip_drv_data },
9394
{ .compatible = "rockchip,rk2928-dw-mshc",
9495
.data = &rockchip_drv_data },
9596
{},

0 commit comments

Comments
 (0)