Skip to content
Unverified Commit 784ed369 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Mark Brown
Browse files

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: default avatarJisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20210803165043.042ec24d@xhacker.debian


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 15b4d2b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment