diff options
author | Mark Brown | 2023-06-10 12:16:37 +0100 |
---|---|---|
committer | Mark Brown | 2023-06-19 12:58:29 +0100 |
commit | 7ae8039f87918e2f108d352f228e2ccee03994bc (patch) | |
tree | b37dc4ae41d1ec660a294600231110a0745d9f34 /sound/soc | |
parent | 424a64a2bbc6014c76b9ef6356d38ad8e66d95ad (diff) |
ASoC: es8316: Use maple tree register cache
The es8316 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.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230609-asoc-es-maple-v1-1-45ada77f5643@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/es8316.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c index 069f1ce1cd50..34cf60769b62 100644 --- a/sound/soc/codecs/es8316.c +++ b/sound/soc/codecs/es8316.c @@ -825,7 +825,7 @@ static const struct regmap_config es8316_regmap = { .use_single_write = true, .max_register = 0x53, .volatile_reg = es8316_volatile_reg, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, }; static int es8316_i2c_probe(struct i2c_client *i2c_client) |