|
@@ -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))
|