Skip to content

Commit 7ae8039

Browse files
committed
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>
1 parent 424a64a commit 7ae8039

1 file changed

Lines changed: 1 addition & 1 deletion

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)

0 commit comments

Comments
 (0)