diff options
author | Mark Brown <broonie@kernel.org> | 2023-06-10 15:27:12 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-14 12:26:39 +0100 |
commit | 049a78048e15ab276052d846c9692ea272699644 (patch) | |
tree | d9e7a7c381d509276c0a369fc283e92986bada24 /sound/soc/codecs | |
parent | a11e6515b019da62266b731ff20bc6863f00df4d (diff) | |
download | linux-stable-049a78048e15ab276052d846c9692ea272699644.tar.gz linux-stable-049a78048e15ab276052d846c9692ea272699644.tar.bz2 linux-stable-049a78048e15ab276052d846c9692ea272699644.zip |
ASoC: rt700: Use maple tree register cache
The rt700 can only support single register read and write operations so
does not benefit from block writes. This means it gets no benefit from
using the rbtree register cache over the maple tree register cache so
convert it to use maple trees instead, it is more modern.
Tested-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230609-asoc-rt-sdw-maple-v1-1-85ee50c93905@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/rt700-sdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt700-sdw.c b/sound/soc/codecs/rt700-sdw.c index ba7767bee07c..8b28e47775cc 100644 --- a/sound/soc/codecs/rt700-sdw.c +++ b/sound/soc/codecs/rt700-sdw.c @@ -292,7 +292,7 @@ static const struct regmap_config rt700_regmap = { .max_register = 0x755800, .reg_defaults = rt700_reg_defaults, .num_reg_defaults = ARRAY_SIZE(rt700_reg_defaults), - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .use_single_read = true, .use_single_write = true, .reg_read = rt700_sdw_read, |