mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
ASoC: st: Use maple tree register cache
Merge series from Mark Brown <broonie@kernel.org>: The maple tree register cache has now got to the point where is is roughly feature compatible with the rbtree cache, let's convert the ST drivers to use the more modern data structure.
This commit is contained in:
commit
58f3c70cce
|
|
@ -1022,7 +1022,7 @@ static const struct regmap_config sta32x_regmap = {
|
|||
.max_register = STA32X_FDRC2,
|
||||
.reg_defaults = sta32x_regs,
|
||||
.num_reg_defaults = ARRAY_SIZE(sta32x_regs),
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.wr_table = &sta32x_write_regs,
|
||||
.rd_table = &sta32x_read_regs,
|
||||
.volatile_table = &sta32x_volatile_regs,
|
||||
|
|
|
|||
|
|
@ -1065,7 +1065,7 @@ static const struct regmap_config sta350_regmap = {
|
|||
.max_register = STA350_MISC2,
|
||||
.reg_defaults = sta350_regs,
|
||||
.num_reg_defaults = ARRAY_SIZE(sta350_regs),
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.wr_table = &sta350_write_regs,
|
||||
.rd_table = &sta350_read_regs,
|
||||
.volatile_table = &sta350_volatile_regs,
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ static const struct regmap_config sta529_regmap = {
|
|||
.max_register = STA529_MAX_REGISTER,
|
||||
.readable_reg = sta529_readable,
|
||||
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_defaults = sta529_reg_defaults,
|
||||
.num_reg_defaults = ARRAY_SIZE(sta529_reg_defaults),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ static const struct regmap_config stac9766_regmap_config = {
|
|||
.reg_stride = 2,
|
||||
.val_bits = 16,
|
||||
.max_register = 0x78,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.volatile_reg = regmap_ac97_default_volatile,
|
||||
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@ static const struct regmap_config stih407_sas_regmap = {
|
|||
.reg_defaults = stih407_sas_reg_defaults,
|
||||
.num_reg_defaults = ARRAY_SIZE(stih407_sas_reg_defaults),
|
||||
.volatile_reg = sti_sas_volatile_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_read = sti_sas_read_reg,
|
||||
.reg_write = sti_sas_write_reg,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user