From: Charles Keepax Date: Tue, 11 May 2021 17:57:16 +0000 (+0100) Subject: ASoC: cs35l34: Add missing regmap use_single config X-Git-Tag: accepted/tizen/unified/20230118.172025~7091^2~1^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a682f821941e28fb9ceaa1dd03ccfaea0448101;p=platform%2Fkernel%2Flinux-rpi.git ASoC: cs35l34: Add missing regmap use_single config This device requires single register transactions, this will definely cause problems with the new device ID parsing which uses regmap_bulk_read but might also show up in the cache sync sometimes. Add the missing flags to the regmap_config. Fixes: 8cb9b001635c ("ASoC: cs35l34: Minor error paths fixups") Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20210511175718.15416-3-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c index 110ee2d..3d3c3c3 100644 --- a/sound/soc/codecs/cs35l34.c +++ b/sound/soc/codecs/cs35l34.c @@ -800,6 +800,9 @@ static struct regmap_config cs35l34_regmap = { .readable_reg = cs35l34_readable_register, .precious_reg = cs35l34_precious_register, .cache_type = REGCACHE_RBTREE, + + .use_single_read = true, + .use_single_write = true, }; static int cs35l34_handle_of_data(struct i2c_client *i2c_client,