Skip to content

Commit 2a682f8

Browse files
charleskeepaxbroonie
authored andcommitted
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: 8cb9b00 ("ASoC: cs35l34: Minor error paths fixups") Signed-off-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 27fb585 commit 2a682f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/codecs/cs35l34.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,9 @@ static struct regmap_config cs35l34_regmap = {
800800
.readable_reg = cs35l34_readable_register,
801801
.precious_reg = cs35l34_precious_register,
802802
.cache_type = REGCACHE_RBTREE,
803+
804+
.use_single_read = true,
805+
.use_single_write = true,
803806
};
804807

805808
static int cs35l34_handle_of_data(struct i2c_client *i2c_client,

0 commit comments

Comments
 (0)