mmc: dw_mmc: dw_mci_get_cd check MMC_CAP_NONREMOVABLE
authorZhangfei Gao <zhangfei.gao@linaro.org>
Tue, 5 May 2015 08:54:49 +0000 (16:54 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 8 May 2015 06:55:47 +0000 (08:55 +0200)
commit4de3bf66c61ef708d8f22d7f990339668a858e7d
treecb539f469bea4253bfd80e9fa9c5066b579afb2a
parent4b2447248325ac7b1654d362c0e9f050f79e0ffe
mmc: dw_mmc: dw_mci_get_cd check MMC_CAP_NONREMOVABLE

When non-removable is used for emmc,  MMC_CAP_NONREMOVABLE should
also be checked, otherwise detection fail since present=0

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c