Skip to content

Commit b1078e9

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: cs35l32: 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: 283160f ("ASoC: cs35l32: 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 2a682f8 commit b1078e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/codecs/cs35l32.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ static const struct regmap_config cs35l32_regmap = {
261261
.readable_reg = cs35l32_readable_register,
262262
.precious_reg = cs35l32_precious_register,
263263
.cache_type = REGCACHE_RBTREE,
264+
265+
.use_single_read = true,
266+
.use_single_write = true,
264267
};
265268

266269
static int cs35l32_handle_of_data(struct i2c_client *i2c_client,

0 commit comments

Comments
 (0)