From 2e9688c81cfc48b210af6f313cb04589b7943e86 Mon Sep 17 00:00:00 2001 From: Alexander Sverdlin Date: Tue, 11 Apr 2023 00:39:01 +0200 Subject: ASoC: cs4271: flat regcache, trivial simplifications - Switch to REGCACHE_FLAT, the whole overhead of RBTREE is not worth it with non sparse register set in the address range 1..7. - Move register width to central location Signed-off-by: Alexander Sverdlin Link: https://lore.kernel.org/r/20230410223902.2321834-3-alexander.sverdlin@gmail.com Signed-off-by: Mark Brown --- sound/soc/codecs/cs4271-spi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sound/soc/codecs/cs4271-spi.c') diff --git a/sound/soc/codecs/cs4271-spi.c b/sound/soc/codecs/cs4271-spi.c index 7ef0a66b7778..4feb80436bd9 100644 --- a/sound/soc/codecs/cs4271-spi.c +++ b/sound/soc/codecs/cs4271-spi.c @@ -17,7 +17,6 @@ static int cs4271_spi_probe(struct spi_device *spi) config = cs4271_regmap_config; config.reg_bits = 16; - config.val_bits = 8; config.read_flag_mask = 0x21; config.write_flag_mask = 0x20; -- cgit v1.2.3