]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: sy8827n: Enable REGCACHE_FLAT
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Tue, 3 Aug 2021 08:52:11 +0000 (16:52 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 3 Aug 2021 17:27:19 +0000 (18:27 +0100)
commit79f00a92fa14a9fa5ce6ddff8f07c2444d5c422a
treecb7d6276d8755fd89c7713f98b31ff0a349c0f00
parentbb29b5d7659dd0e90f5ec883a6a12ed6dd47ab70
regulator: sy8827n: Enable REGCACHE_FLAT

Enable regmap cache to reduce i2c transactions and corresponding
interrupts if regulator is accessed frequently. Since the register map
is small, we use a FLAT regmap cache.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20210803165211.3b00db29@xhacker.debian
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sy8827n.c