diff options
| author | Jonathan Marek <jonathan@marek.ca> | 2025-11-17 00:15:21 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-20 00:11:04 +0000 |
| commit | bdf96e9135a0cf53a853a19c30fa11131a744062 (patch) | |
| tree | 68e71b28e7d21dcd853e8154dd98add544be71fd /lib | |
| parent | 50c28498e9fd6784dea82378d509572d118111f9 (diff) | |
ASoC: codecs: lpass-rx-macro: fix mute_stream affecting all paths
The current mute_steam() implementation affects all paths instead of
only those in use by the DAI.
For example, playing to 2 DAIs simultaneously with mixing, stopping
one will mute the other.
Rework to use the same logic as hw_params() to mute only the relevant paths.
(also, use "rx->main_clk_users[j] > 0" instead of dsm_reg, which is
equivalent. I also don't think the clock enable should be in this function,
but that's a change for another patch)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20251117051523.16462-9-jonathan@marek.ca
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions