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.
This commit is contained in:
commit
29735f6fb0
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue