]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci: more efficient interrupt enable register handling
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 11:56:01 +0000 (12:56 +0100)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 11:26:26 +0000 (07:26 -0400)
commitb537f94ce19583de1882f539a5cc49aa99260aca
tree80e6672bfec0bc5f97f1f30537e939c766b78dcd
parentbe138554a7923658ded799b0e8794d9c1d08a6e5
mmc: sdhci: more efficient interrupt enable register handling

Rather than wasting cycles read-modify-writing the interrupt enable
registers, cache the value locally instead.

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