Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: bcm2835-i2s: Use maple tree register cache

The bcm2835 I2S driver uses a rbtree register cache but has no clear need
to do so. Since the maple tree cache uses a more modern data structure and
makes implementation decisions more suitable for current systems switch the
driver to use that instead. No functional changes.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20240924-asoc-bcm-maple-v1-1-9d221f4a0195@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

+1 -1
+1 -1
sound/soc/bcm/bcm2835-i2s.c
··· 817 817 .max_register = BCM2835_I2S_GRAY_REG, 818 818 .precious_reg = bcm2835_i2s_precious_reg, 819 819 .volatile_reg = bcm2835_i2s_volatile_reg, 820 - .cache_type = REGCACHE_RBTREE, 820 + .cache_type = REGCACHE_MAPLE, 821 821 }; 822 822 823 823 static const struct snd_soc_component_driver bcm2835_i2s_component = {