Files
linux/sound/soc/codecs
Martin Povišer 1e5907bcb3 ASoC: tas2770: Fix handling of mute/unmute
Because the PWR_CTRL field is modeled as the power state of the DAC
widget, and at the same time it is used to implement mute/unmute, we
need some additional book-keeping to have the right end result no matter
the sequence of calls. Without this fix, one can mute an ongoing stream
by toggling a speaker pin control.

Fixes: 1a476abc72 ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220808141246.5749-5-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-08-08 20:44:42 +01:00
..
2021-04-20 17:25:51 +01:00
2022-06-27 18:27:03 +01:00
2022-07-11 15:51:01 +01:00
2021-03-31 18:00:38 +01:00
2022-06-06 12:33:10 +01:00
2022-06-06 12:33:10 +01:00
2022-07-08 11:52:42 +01:00
2022-07-08 11:52:42 +01:00
2018-04-26 12:44:15 +01:00
2022-07-13 13:48:56 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2022-07-11 15:51:01 +01:00
2022-01-28 15:59:20 +00:00
2021-12-06 10:04:05 +01:00
2022-07-11 15:51:01 +01:00
2022-07-08 11:52:42 +01:00
2022-07-08 11:52:42 +01:00
2022-07-11 15:51:01 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2022-07-11 15:51:01 +01:00
2020-07-20 15:34:29 +01:00
2022-07-11 15:51:01 +01:00
2020-10-02 21:05:29 +01:00
2022-07-11 15:51:01 +01:00