projects
/
platform
/
kernel
/
linux-exynos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: host: use the defined function to check whether card is removable
[platform/kernel/linux-exynos.git]
/
drivers
/
mmc
/
host
/
tmio_mmc_pio.c
diff --git
a/drivers/mmc/host/tmio_mmc_pio.c
b/drivers/mmc/host/tmio_mmc_pio.c
index
f44e2ab
..
92467ef
100644
(file)
--- a/
drivers/mmc/host/tmio_mmc_pio.c
+++ b/
drivers/mmc/host/tmio_mmc_pio.c
@@
-1086,7
+1086,7
@@
int tmio_mmc_host_probe(struct tmio_mmc_host *_host,
_host->native_hotplug = !(pdata->flags & TMIO_MMC_USE_GPIO_CD ||
mmc->caps & MMC_CAP_NEEDS_POLL ||
-
mmc->caps & MMC_CAP_NONREMOVABLE
||
+
!mmc_card_is_removable(mmc)
||
mmc->slot.cd_irq >= 0);
if (tmio_mmc_clk_enable(_host) < 0) {