mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
ASoC: qcom: Use the maple tree register cache
Merge series from Mark Brown <broonie@kernel.org>: The maple tree register cache should now be a good replacement for the rbtree cache in almost all situations, update the Qualcomm CODEC drivers to use the newer cache.
This commit is contained in:
commit
452f9672db
|
|
@ -4968,7 +4968,7 @@ static bool wcd9335_is_volatile_register(struct device *dev, unsigned int reg)
|
|||
static struct regmap_config wcd9335_regmap_config = {
|
||||
.reg_bits = 16,
|
||||
.val_bits = 8,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.max_register = WCD9335_MAX_REGISTER,
|
||||
.can_multi_write = true,
|
||||
.ranges = wcd9335_ranges,
|
||||
|
|
|
|||
|
|
@ -1183,7 +1183,7 @@ static const struct regmap_config wcd938x_regmap_config = {
|
|||
.name = "wcd938x_csr",
|
||||
.reg_bits = 32,
|
||||
.val_bits = 8,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_defaults = wcd938x_defaults,
|
||||
.num_reg_defaults = ARRAY_SIZE(wcd938x_defaults),
|
||||
.max_register = WCD938X_MAX_REGISTER,
|
||||
|
|
|
|||
|
|
@ -637,7 +637,7 @@ static bool wsa881x_volatile_register(struct device *dev, unsigned int reg)
|
|||
static struct regmap_config wsa881x_regmap_config = {
|
||||
.reg_bits = 32,
|
||||
.val_bits = 8,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_defaults = wsa881x_defaults,
|
||||
.max_register = WSA881X_SPKR_STATUS3,
|
||||
.num_reg_defaults = ARRAY_SIZE(wsa881x_defaults),
|
||||
|
|
|
|||
|
|
@ -938,7 +938,7 @@ static bool wsa883x_volatile_register(struct device *dev, unsigned int reg)
|
|||
static struct regmap_config wsa883x_regmap_config = {
|
||||
.reg_bits = 32,
|
||||
.val_bits = 8,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_defaults = wsa883x_defaults,
|
||||
.max_register = WSA883X_MAX_REGISTER,
|
||||
.num_reg_defaults = ARRAY_SIZE(wsa883x_defaults),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user