summaryrefslogtreecommitdiff
path: root/drivers/regulator/sy8827n.c
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2021-08-03 11:50:43 +0300
committerMark Brown <broonie@kernel.org>2021-08-03 20:27:18 +0300
commit784ed36958390c511cd48db061401f9ba20ba67a (patch)
tree95b605cd725f83f9797dc5ef21cecb20158a7e20 /drivers/regulator/sy8827n.c
parent15b4d2b972014b789f22d9267bcff1cc48153738 (diff)
downloadlinux-784ed36958390c511cd48db061401f9ba20ba67a.tar.xz
regulator: sy8824x: Enable REGCACHE_FLAT
Enable regmap cache to reduce i2c transactions and corresponding interrupts if regulator is accessed frequently. Since the register map is small -- there's only one register in sy8824c and sy8824e, there are only two registers in sy20276 and sy20278, so we use a FLAT regmap cache. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Link: https://lore.kernel.org/r/20210803165043.042ec24d@xhacker.debian Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/sy8827n.c')
0 files changed, 0 insertions, 0 deletions