Skip to content

Commit 29735f6

Browse files
committed
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.
2 parents 246c9f5 + 9321015 commit 29735f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/codecs/es8316.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ static const struct regmap_config es8316_regmap = {
825825
.use_single_write = true,
826826
.max_register = 0x53,
827827
.volatile_reg = es8316_volatile_reg,
828-
.cache_type = REGCACHE_RBTREE,
828+
.cache_type = REGCACHE_MAPLE,
829829
};
830830

831831
static int es8316_i2c_probe(struct i2c_client *i2c_client)

sound/soc/codecs/es8328.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ const struct regmap_config es8328_regmap_config = {
822822
.reg_bits = 8,
823823
.val_bits = 8,
824824
.max_register = ES8328_REG_MAX,
825-
.cache_type = REGCACHE_RBTREE,
825+
.cache_type = REGCACHE_MAPLE,
826826
.use_single_read = true,
827827
.use_single_write = true,
828828
};

0 commit comments

Comments
 (0)