Skip to content

Commit 40ba041

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: codecs: wsa883x: 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: 43b8c7d ("ASoC: codecs: add wsa883x amplifier support") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230523154605.4284-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 011a871 commit 40ba041

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

sound/soc/codecs/wsa883x.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,6 @@ static struct regmap_config wsa883x_regmap_config = {
946946
.writeable_reg = wsa883x_writeable_register,
947947
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
948948
.val_format_endian = REGMAP_ENDIAN_NATIVE,
949-
.can_multi_write = true,
950949
.use_single_read = true,
951950
};
952951

0 commit comments

Comments
 (0)