]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mfd: sec: Add register cache for interrupt mask registers
authorMark Brown <broonie@linaro.org>
Tue, 2 Jul 2013 17:51:16 +0000 (18:51 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 31 Jul 2013 00:02:55 +0000 (02:02 +0200)
commit6b845ba934cc425e43615032a2f046709b95a76c
tree9b0f1de0c093c9e500a0e432fa45f169b4809cbc
parent1d057b853962a84a2c41a0a0a7fc15a631ac96e8
mfd: sec: Add register cache for interrupt mask registers

The performance of regmap-irq is improved if the interrupt mask registers
can be cached since it does read/modify/update cycles so start using the
register cache infrastructure for those registers. We should use this more
widely but I don't have a datasheet and this is a nice, conservative
starting point.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/sec-core.c