mmc: core: Do not rescan non-removable devices
authorJohan Rudholm <johan.rudholm@stericsson.com>
Thu, 23 Aug 2012 11:40:55 +0000 (13:40 +0200)
committerChris Ball <cjb@laptop.org>
Tue, 4 Sep 2012 17:58:27 +0000 (13:58 -0400)
commit3339d1e33185798a45dbdb5ea6c0bec1c27ca5fd
tree6af12b5b69f6092510345999171582a595aa9841
parent36c179a98a0755b98153e8f4ae08243fbfcd18ff
mmc: core: Do not rescan non-removable devices

If MMC_CAP_NONREMOVABLE is set, only issue a detect job on init.

Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
include/linux/mmc/host.h