diff options
author | Kevin Hilman <khilman@baylibre.com> | 2017-08-23 01:37:31 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-08-23 01:37:31 +0300 |
commit | 4db26f83a7a1f8b844e4543cd82a87bee1d224e2 (patch) | |
tree | 260f68e5671b902344f8b568a45bd6df645b5bcb /drivers/mmc/host/dw_mmc.c | |
parent | b16c71c9f6ff50d4e4398cefd9113d82ee2fe8e6 (diff) | |
parent | aae4e7a8bc44722fe70d58920a36916b1043195e (diff) | |
download | linux-4db26f83a7a1f8b844e4543cd82a87bee1d224e2.tar.xz |
Merge tag 'v4.13-rc4' into v4.14/dt64
Linux 4.13-rc4
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index a9dfb26972f2..250dc6ec4c82 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2957,7 +2957,7 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) } /* find out number of slots supported */ - if (device_property_read_u32(dev, "num-slots", &pdata->num_slots)) + if (!device_property_read_u32(dev, "num-slots", &pdata->num_slots)) dev_info(dev, "'num-slots' was deprecated.\n"); if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) |