Skip to content

Commit 6e7a6d4

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: codecs: wsa881x: do not set can_multi_write flag
regmap-sdw does not support multi register writes, so there is no point in setting this flag. This also leads to incorrect programming of WSA codecs with regmap_multi_reg_write() call. This invalid configuration should have been rejected by regmap-sdw. Fixes: a0aab9e ("ASoC: codecs: add wsa881x amplifier support") Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 40ba041 commit 6e7a6d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sound/soc/codecs/wsa881x.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,6 @@ static struct regmap_config wsa881x_regmap_config = {
645645
.readable_reg = wsa881x_readable_register,
646646
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
647647
.val_format_endian = REGMAP_ENDIAN_NATIVE,
648-
.can_multi_write = true,
649648
};
650649

651650
enum {

0 commit comments

Comments
 (0)