Skip to content

Commit 2d7c2f9

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: codecs: wcd938x-sdw: 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. Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6e7a6d4 commit 2d7c2f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sound/soc/codecs/wcd938x-sdw.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,6 @@ static const struct regmap_config wcd938x_regmap_config = {
11901190
.readable_reg = wcd938x_readable_register,
11911191
.writeable_reg = wcd938x_writeable_register,
11921192
.volatile_reg = wcd938x_volatile_register,
1193-
.can_multi_write = true,
11941193
};
11951194

11961195
static const struct sdw_slave_ops wcd9380_slave_ops = {

0 commit comments

Comments
 (0)