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)
commit7536d3f83aa42ba1a3b1c6b30c2b6d94a820cbb2
tree7d7e0d1e730528f2ca7fd8e987d305274e019a46
parent10e5d9652499a8bc0a99ffc2a96a3030fee576cb
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