mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
ASoC: wcd938x: Update to use maple tree register cache
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. In v6.5 it has also acquired the ability to generate multi-register writes in sync operations, bringing performance up to parity with the rbtree cache there. Update the wcd938x driver to use the more modern data structure. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230712-asoc-qcom-maple-v1-2-15f8089664b9@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
272aedb250
commit
8caeeb54d8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user