]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: keep prepare/unprepare widgets in sink path
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 18 Jan 2023 10:12:55 +0000 (12:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:17 +0000 (11:28 +0100)
commit0731e480ed8d7de36a6189dadecd3ca40ea8f85d
tree4d8ff1d510e983518f3e2e696393713c74574583
parentca471605b21d9b50a76205571065d959fde1b15f
ASoC: SOF: keep prepare/unprepare widgets in sink path

commit d9e3066ed763ef2b784a8050443504e742032d09 upstream.

The existing code return when a widget doesn't need to
prepare/unprepare. This will prevent widgets in the sink path from being
prepared/unprepared.

Cc: <stable@vger.kernel.org> # 6.1
Link: https://github.com/thesofproject/linux/issues/4021
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230118101255.29139-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/sof/sof-audio.c