[PATCH v2 2/3] ASoC: SOF: sof-audio: skip prepare/unprepare if swidget is NULL

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Jan 17 13:44:35 CET 2023


Il 16/01/23 13:55, Peter Ujfalusi ha scritto:
> From: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
> 
> Skip preparing/unpreparing widgets if the swidget pointer is NULL. This
> will be true in the case of virtual widgets in topology that were added
> for reusing the legacy HDA machine driver with SOF.
> 
> Fixes: 9862dcf70245 ("ASoC: SOF: don't unprepare widget used other pipelines")
> Cc: <stable at vger.kernel.org> # 6.1
> Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
> Reviewed-by: Rander Wang <rander.wang at intel.com>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at linux.intel.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

[Angelo: Tested on MT8195 Tomato Chromebook]
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>



More information about the Alsa-devel mailing list