diff options
author | Michal Simek | 2020-07-22 17:46:31 +0200 |
---|---|---|
committer | Michal Simek | 2020-08-20 09:49:20 +0200 |
commit | e8deb2218509ffe686601b7e51091407fda58fbf (patch) | |
tree | b6b516d00230e24d296d2dfa9bf7d77f7c725512 /drivers/mmc/zynq_sdhci.c | |
parent | 01a6da166102f5751985efef4504ac3c2c094d61 (diff) |
mmc: zynq: Fix default value for xlnx,mio-bank
DT binding is saying that default value is 0 not -1 that's why fix it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/mmc/zynq_sdhci.c')
-rw-r--r-- | drivers/mmc/zynq_sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 6505527616d..e9381b94930 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -276,7 +276,7 @@ static int arasan_sdhci_ofdata_to_platdata(struct udevice *dev) return PTR_ERR(priv->host->ioaddr); priv->deviceid = dev_read_u32_default(dev, "xlnx,device_id", -1); - priv->bank = dev_read_u32_default(dev, "xlnx,mio-bank", -1); + priv->bank = dev_read_u32_default(dev, "xlnx,mio-bank", 0); return 0; } |