diff options
author | Mark Brown <broonie@kernel.org> | 2023-06-10 14:56:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-13 12:11:08 +0100 |
commit | ce598b2f83608f3818f8a4079662d3844679b16f (patch) | |
tree | c8934b842c8e9b3598294a68fed9664d7f454ec3 /sound/soc/codecs | |
parent | 62145b0a537410d7ce237945c339635f9a86a895 (diff) | |
download | linux-stable-ce598b2f83608f3818f8a4079662d3844679b16f.tar.gz linux-stable-ce598b2f83608f3818f8a4079662d3844679b16f.tar.bz2 linux-stable-ce598b2f83608f3818f8a4079662d3844679b16f.zip |
ASoC: cs43130: Use maple tree register cache
The cs43130 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-9-b806c4cbd1d4@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/cs43130.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs43130.c b/sound/soc/codecs/cs43130.c index 523ca54ebf64..3292405024bc 100644 --- a/sound/soc/codecs/cs43130.c +++ b/sound/soc/codecs/cs43130.c @@ -2357,7 +2357,7 @@ static const struct regmap_config cs43130_regmap = { .readable_reg = cs43130_readable_register, .precious_reg = cs43130_precious_register, .volatile_reg = cs43130_volatile_register, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, /* needed for regcache_sync */ .use_single_read = true, .use_single_write = true, |