]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite511b4674192e2262f2738e455e2a8e6edc7a5ec
treecb539f469bea4253bfd80e9fa9c5066b579afb2a
parentab66d3121ddb95dfeb5d9d2fb6608ee7d20e48e4
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