summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-06-10 14:56:27 +0100
committerMark Brown <broonie@kernel.org>2023-06-13 12:11:06 +0100
commit7e39a71876244639774c71144e4b5dee7799e1cf (patch)
tree6d5cad7f10eec3aeaef6b24aac4d64a5c5b9efe2 /sound
parent6b7fed83c9455f64a1509a9e1d512a92edaaf44e (diff)
downloadlinux-stable-7e39a71876244639774c71144e4b5dee7799e1cf.tar.gz
linux-stable-7e39a71876244639774c71144e4b5dee7799e1cf.tar.bz2
linux-stable-7e39a71876244639774c71144e4b5dee7799e1cf.zip
ASoC: cs42l73: Use maple tree register cache
The cs42l73 can only support single register read and write operations so does not benefit from block writes. This means it gets no benefit from using the rbtree register cache over the maple tree register cache so convert it to use maple trees instead, it is more modern. Acked-by: David Rhodes <david.rhodes@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230609-asoc-cirrus-maple-v1-7-b806c4cbd1d4@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs42l73.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
index 378a4400d234..6ab67d196d10 100644
--- a/sound/soc/codecs/cs42l73.c
+++ b/sound/soc/codecs/cs42l73.c
@@ -1267,7 +1267,7 @@ static const struct regmap_config cs42l73_regmap = {
.num_reg_defaults = ARRAY_SIZE(cs42l73_reg_defaults),
.volatile_reg = cs42l73_volatile_register,
.readable_reg = cs42l73_readable_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.use_single_read = true,
.use_single_write = true,