Re: [PATCH] mfd: twl6040: Use regmap for register cache

From: Lee Jones
Date: Mon Sep 02 2013 - 04:18:12 EST


On Sat, 31 Aug 2013, Mark Brown wrote:

> From: Mark Brown <broonie@xxxxxxxxxx>
>
> Rather then open coding a cache of the vibra control registers use the
> regmap cache code. Also cache the interrupt mask register, providing
> a small performance improvement for the interrupt code.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
>
> I'm hoping to have some ASoC improvements to build on top of this (there
> is ASoC level register caching for the device) so it might make sense to
> apply this via ASoC.
>
> drivers/mfd/twl6040.c | 43 ++++++++++++++++++++++++++++++-------------
> include/linux/mfd/twl6040.h | 1 -
> 2 files changed, 30 insertions(+), 14 deletions(-)

Applied with Peter's Ack, thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/