diff options
author | Mark Brown <broonie@kernel.org> | 2023-07-13 03:13:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-18 16:45:44 +0300 |
commit | 7e510925e00d1daea10f9474505b4f1b9ec24433 (patch) | |
tree | e232217ffacae246ec8a615a9784c12b3365e26f /sound/soc/codecs | |
parent | fb60b65a65b038f1881a3f1a0146c07e22f647d0 (diff) | |
download | linux-7e510925e00d1daea10f9474505b4f1b9ec24433.tar.xz |
ASoC: wm9705: Update to use maple tree register cache
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache. In
v6.5 it has also acquired the ability to generate multi-register writes in
sync operations, bringing performance up to parity with the rbtree cache
there.
Update the wm9705 driver to use the more modern data structure.
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230713-asoc-cirrus-maple-v1-46-a62651831735@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm9705.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c index d04902ef1d5f..5c6aebe29cf1 100644 --- a/sound/soc/codecs/wm9705.c +++ b/sound/soc/codecs/wm9705.c @@ -64,7 +64,7 @@ static const struct regmap_config wm9705_regmap_config = { .reg_stride = 2, .val_bits = 16, .max_register = 0x7e, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .volatile_reg = regmap_ac97_default_volatile, |