]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: fix the wrong condition checking
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 6 Aug 2015 07:23:24 +0000 (16:23 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Aug 2015 10:45:26 +0000 (12:45 +0200)
commit5f17a9bef789c9d7ff69a1e884b89afd9ac4716b
tree4590d0dc85dea161c20427b17bb1faec325b3aed
parent581c0b56d90acdefc3f52a289534bebd2a8d8fb5
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>
drivers/mmc/host/dw_mmc.c