Skip to content

Commit 27fb585

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: cs42l73: 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: 2649525 ("ASoC: cs42l73: 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 96f6859 commit 27fb585

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/codecs/cs42l73.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,9 @@ static const struct regmap_config cs42l73_regmap = {
12681268
.volatile_reg = cs42l73_volatile_register,
12691269
.readable_reg = cs42l73_readable_register,
12701270
.cache_type = REGCACHE_RBTREE,
1271+
1272+
.use_single_read = true,
1273+
.use_single_write = true,
12711274
};
12721275

12731276
static int cs42l73_i2c_probe(struct i2c_client *i2c_client,

0 commit comments

Comments
 (0)