diff options
author | Jonathan Marek <jonathan@marek.ca> | 2021-03-04 16:56:46 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 12:51:04 +0000 |
commit | 5346f0e80b7160c91fb599d4545fd12560c286ed (patch) | |
tree | 8b47971ad88936117a9e24328f10016ab72198b4 /kernel | |
parent | 7de14d581dbed57c2b3c6afffa2c3fdc6955a3cd (diff) |
ASoC: codecs: lpass-va-macro: mute/unmute all active decimators
An interface can have multiple decimators enabled, so loop over all active
decimators. Otherwise only one channel will be unmuted, and other channels
will be zero. This fixes recording from dual DMIC as a single two channel
stream.
Also remove the now unused "active_decimator" field.
Fixes: 908e6b1df26e ("ASoC: codecs: lpass-va-macro: Add support to VA Macro")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210304215646.17956-1-jonathan@marek.ca
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions