diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-05-23 16:46:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-24 11:20:07 +0100 |
commit | 40ba0411074485e2cf1bf8ee0f3db27bdff88394 (patch) | |
tree | 7d619cc0587a0f121c8bf016ed516bcde8268503 /sound | |
parent | 011a8719d6105dcb48077ea7a6a88ac019d4aa50 (diff) | |
download | linux-40ba0411074485e2cf1bf8ee0f3db27bdff88394.tar.gz linux-40ba0411074485e2cf1bf8ee0f3db27bdff88394.tar.bz2 linux-40ba0411074485e2cf1bf8ee0f3db27bdff88394.zip |
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: 43b8c7dc85a1 ("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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wsa883x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wsa883x.c b/sound/soc/codecs/wsa883x.c index c609cb63dae6..e80b53143569 100644 --- a/sound/soc/codecs/wsa883x.c +++ b/sound/soc/codecs/wsa883x.c @@ -946,7 +946,6 @@ static struct regmap_config wsa883x_regmap_config = { .writeable_reg = wsa883x_writeable_register, .reg_format_endian = REGMAP_ENDIAN_NATIVE, .val_format_endian = REGMAP_ENDIAN_NATIVE, - .can_multi_write = true, .use_single_read = true, }; |