ASoC: Use maple tree for Cirrus Logic devices
Merge series from Mark Brown <broonie@kernel.org>: A lot of the Cirrus Logic devices only support single register read/write operations so they get no benefit from using the rbtree cache over the more modern maple tree cache, convert them to use maple tree.
This commit is contained in:
commit
1012bfdd2f
@ -260,7 +260,7 @@ static const struct regmap_config cs35l32_regmap = {
|
||||
.volatile_reg = cs35l32_volatile_register,
|
||||
.readable_reg = cs35l32_readable_register,
|
||||
.precious_reg = cs35l32_precious_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
@ -852,7 +852,7 @@ static const struct regmap_config cs35l33_regmap = {
|
||||
.volatile_reg = cs35l33_volatile_register,
|
||||
.readable_reg = cs35l33_readable_register,
|
||||
.writeable_reg = cs35l33_writeable_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
@ -799,7 +799,7 @@ static struct regmap_config cs35l34_regmap = {
|
||||
.volatile_reg = cs35l34_volatile_register,
|
||||
.readable_reg = cs35l34_readable_register,
|
||||
.precious_reg = cs35l34_precious_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
@ -1099,7 +1099,7 @@ static struct regmap_config cs35l35_regmap = {
|
||||
.volatile_reg = cs35l35_volatile_register,
|
||||
.readable_reg = cs35l35_readable_register,
|
||||
.precious_reg = cs35l35_precious_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
@ -675,7 +675,7 @@ static const struct regmap_config cs4234_regmap = {
|
||||
.writeable_reg = cs4234_writeable_register,
|
||||
.reg_defaults = cs4234_default_reg,
|
||||
.num_reg_defaults = ARRAY_SIZE(cs4234_default_reg),
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
@ -393,7 +393,7 @@ const struct regmap_config cs42l42_regmap = {
|
||||
.max_register = CS42L42_MAX_REGISTER,
|
||||
.reg_defaults = cs42l42_reg_defaults,
|
||||
.num_reg_defaults = ARRAY_SIZE(cs42l42_reg_defaults),
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
@ -1267,7 +1267,7 @@ static const struct regmap_config cs42l73_regmap = {
|
||||
.num_reg_defaults = ARRAY_SIZE(cs42l73_reg_defaults),
|
||||
.volatile_reg = cs42l73_volatile_register,
|
||||
.readable_reg = cs42l73_readable_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
@ -158,7 +158,7 @@ static const struct regmap_config cs42l83_regmap = {
|
||||
.max_register = CS42L42_MAX_REGISTER,
|
||||
.reg_defaults = cs42l83_reg_defaults,
|
||||
.num_reg_defaults = ARRAY_SIZE(cs42l83_reg_defaults),
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
@ -2357,7 +2357,7 @@ static const struct regmap_config cs43130_regmap = {
|
||||
.readable_reg = cs43130_readable_register,
|
||||
.precious_reg = cs43130_precious_register,
|
||||
.volatile_reg = cs43130_volatile_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
/* needed for regcache_sync */
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
@ -911,7 +911,7 @@ static struct regmap_config cs53l30_regmap = {
|
||||
.volatile_reg = cs53l30_volatile_register,
|
||||
.writeable_reg = cs53l30_writeable_register,
|
||||
.readable_reg = cs53l30_readable_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
|
Loading…
Reference in New Issue
Block a user