mmc: dw_mmc: fix the wrong condition checking

When num-slots is lower than 1, it's right that should be returned -ENODEV.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
Jaehoon Chung 2015-08-06 16:23:24 +09:00 • committed by Ulf Hansson
commit 9e747b7e4a