From: Patrice Chotard Date: Tue, 24 Jul 2018 11:39:25 +0200 Subject: [U-Boot] [PATCH v2 6/6] mmc: arm_pl180_mmci: Add "cd_inverted" DT property read In-Reply-To: <1532425165-29027-1-git-send-email-patrice.chotard@st.com> References: <1532425165-29027-1-git-send-email-patrice.chotard@st.com> Message-ID: <1532425165-29027-7-git-send-email-patrice.chotard@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add missing read of "cd_inverted" property in DT. Signed-off-by: Patrice Chotard --- 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