Add missing read of "cd_inverted" property in DT.

Signed-off-by: Patrice Chotard <patrice.chot...@st.com>
---

Changes in v2: None

 drivers/mmc/arm_pl180_mmci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c
index 1cd780b3eec0..75d1a367ceb6 100644
--- a/drivers/mmc/arm_pl180_mmci.c
+++ b/drivers/mmc/arm_pl180_mmci.c
@@ -440,6 +440,7 @@ static int arm_pl180_mmc_probe(struct udevice *dev)
                            SDI_CLKCR_HWFC_EN;
        host->clock_in = clk_get_rate(&clk);
        host->version2 = dev_get_driver_data(dev);
+       host->cd_inverted = dev_read_bool(dev, "cd-inverted");
 
        cfg->name = dev->name;
        cfg->voltages = VOLTAGE_WINDOW_SD;
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to