]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Enable MMC_CAP2_CACHE_CTRL as default
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 18 Dec 2013 10:59:17 +0000 (11:59 +0100)
committerChris Ball <chris@printf.net>
Fri, 14 Feb 2014 03:58:49 +0000 (22:58 -0500)
commit5504dee9772b453ba0c9466c92423072c73f49aa
tree7d7e0d1e730528f2ca7fd8e987d305274e019a46
parent4325e005091990a47e37c2636d73313e8d0dd38f
mmc: core: Enable MMC_CAP2_CACHE_CTRL as default

There are no reason to why the use of a non-volatile internal eMMC
cache should be controlled by a host cap. Instead let's just enable it
if the eMMC card supports it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
include/linux/mmc/host.h