]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: fix the wrong condition check of getting num-slots from DT
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 21 Jul 2017 08:39:56 +0000 (16:39 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Jul 2017 13:57:30 +0000 (15:57 +0200)
commit98e039f91b191d5227b8baffbc082155e4875df9
treef0eca0883e3304041e3b7afed17e2ad0a6c8814b
parentcaa0a45a6e8b0c334c990a686b515cc4955ae094
mmc: dw_mmc: fix the wrong condition check of getting num-slots from DT

Change to print the information about when the deprecated "num-slots" DT
binding is being used, as to avoid confusion when browsing the log:

dwmmc_rockchip fe320000.dwmmc: 'num-slots' was deprecated.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Fixes: 4d96f94879d1 ("mmc: dw_mmc: deprecated the "num-slots" property")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c