diff options
author | Mark Brown | 2023-06-20 15:23:56 +0100 |
---|---|---|
committer | Mark Brown | 2023-06-20 15:23:56 +0100 |
commit | 29735f6fb0f57c8010c9486216361c0f68c90226 (patch) | |
tree | bc92a9989002250a49c25ed6f65b11bd6eb19058 /sound/soc | |
parent | 246c9f586c7c840b88efc874c949706d3f7df30c (diff) | |
parent | 9321015a5f40891e7cb094c6f68f6d4f67b5f3dc (diff) |
ASoC: Use maple tree register cache for Everest Semi
Merge series from Mark Brown <broonie@kernel.org>:
Several of the Everest Semi CODECs only support single register read and
write operations and therefore do not benefit from using the rbtree
cache over the maple tree cache, convert them to the more modern maple
tree cache.
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/es8316.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/es8328.c | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs/es8328.c index 160adc706cc6..0bd9ba5a11b4 100644 --- a/sound/soc/codecs/es8328.c +++ b/sound/soc/codecs/es8328.c @@ -822,7 +822,7 @@ const struct regmap_config es8328_regmap_config = { .reg_bits = 8, .val_bits = 8, .max_register = ES8328_REG_MAX, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .use_single_read = true, .use_single_write = true, }; |