]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_audmux: Fix amixer write errors
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 6 Sep 2022 06:49:21 +0000 (14:49 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 23 Sep 2022 16:54:10 +0000 (17:54 +0100)
commitf3665eee36c8ebe5530c68548e4be262b53dae69
tree5847fc33395decf8a4930fe6d2b7faf348784dca
parentb1b1ec0a78f6aa81b95d671f57ca03766663306d
ASoC: fsl_audmux: Fix amixer write errors

This reverts commit 3bca7098c9565a ("ASoC: fsl_audmix: make clock and
output src write only").

There is error after making clock and output src write only

$amixer -c imxaudmix cset numid=1 1
amixer: Cannot read the given element from control sysdefault:3

Which is worse than before, so let's revert the change.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1662446961-20799-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_audmix.c