f_max parameter of mmc structure is updated unconditionally.
If dt property max-frequency is assigned, this update is
overwriting the dt property value which is undesired.
Signed-off-by: Suneel Garapati suneel.garap...@xilinx.com
---
drivers/mmc/host/sdhci.c | 5 -
1 file changed, 4
reported in
registers is broken and preset values are broken too and tested on zynq ep108
platform. max-frequency devicetree parameter is alternative to get upper limit .
Suneel Garapati (2):
drivers: mmc: add quirk SDHCI_QUIRK_CLOCK_DIV_ZERO_BROKEN
drivers: mmc: add quirks for broken clock
adding SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,SDHCI_QUIRK2_PRESET_VALUE_BROKEN
flags for arasan sdhc.
Signed-off-by: Suneel Garapati suneel.garap...@xilinx.com
---
drivers/mmc/host/sdhci-of-arasan.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/host/sdhci-of-arasan.c
b/drivers
adds quirk for controllers whose clock divider zero is broken,
sdhci_set_clock function will incorporate this modification.
Signed-off-by: Suneel Garapati suneel.garap...@xilinx.com
---
drivers/mmc/host/sdhci.c | 4
drivers/mmc/host/sdhci.h | 2 ++
2 files changed, 6 insertions(+)
diff