diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-05-23 17:46:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-24 12:20:08 +0200 |
commit | 6e7a6d4797ef521c0762914610ed682e102b9d36 (patch) | |
tree | 8294660fc3e2589ce7909d826b5bcdb5f248ad75 /sound | |
parent | ASoC: codecs: wsa883x: do not set can_multi_write flag (diff) | |
download | linux-6e7a6d4797ef521c0762914610ed682e102b9d36.tar.xz linux-6e7a6d4797ef521c0762914610ed682e102b9d36.zip |
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: a0aab9e1404a ("ASoC: codecs: add wsa881x amplifier support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230523154605.4284-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wsa881x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c index f709231b1277..97f6873a0a8c 100644 --- a/sound/soc/codecs/wsa881x.c +++ b/sound/soc/codecs/wsa881x.c @@ -645,7 +645,6 @@ static struct regmap_config wsa881x_regmap_config = { .readable_reg = wsa881x_readable_register, .reg_format_endian = REGMAP_ENDIAN_NATIVE, .val_format_endian = REGMAP_ENDIAN_NATIVE, - .can_multi_write = true, }; enum { |