]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-pcm: restore mixer functionality
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 4 Oct 2021 21:21:41 +0000 (16:21 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 7 Oct 2021 18:20:00 +0000 (19:20 +0100)
commit9e4b57eddb4d6a46b09fd115c7aeca8f59dd4751
tree5ebf7ed166225a7b029fd80eb0d8c3b792ad4197
parentd28dde394ddd65bcb8da38ae6a145e0d2fdefb65
ASoC: soc-pcm: restore mixer functionality

Recent changes in soc-pcm completely broke basic support for mixers on
Intel systems: the filters on BE states prevent the connection of a
second mixer input while the back-end is already active.

Rather than reverting the changes, which would be problematic for
Tegra systems, this patch suggests an additional filter which will
only apply to Tegra systems. This is a temporary solution which will
have to be revisited - additional issues have been reported with DPCM.

Fixes: 32566643a248 ('ASoC: soc-pcm: Don't reconnect an already active BE')
Suggested-by: Sameer Pujar <spujar@nvidia.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211004212141.193136-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c