]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci: track whether preset mode is currently enabled in hardware
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 12:00:12 +0000 (13:00 +0100)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:33:30 +0000 (08:33 -0400)
commitda91a8f9c0f56d75b35bfe2e2456187ab55b3639
tree0b1eb88167d37461dc1d9aa56919f715e61095b1
parent24fbb3ca1468861e5ac33a26c4130610ae8d0e20
mmc: sdhci: track whether preset mode is currently enabled in hardware

Track whether preset mode is currently enabled in hardware, and use that
when making decisions elsewhere in the code rather than reading the
register and checking the bit.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci.c
include/linux/mmc/sdhci.h