]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SOF: Intel: add hda_dsp_stream_pair_get/put helpers
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 3 Feb 2026 11:40:25 +0000 (19:40 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 3 Feb 2026 13:47:19 +0000 (13:47 +0000)
commit89e1d632bb29e0915d801629d4a842ff609514e2
treef829e135ff48840b808169afe3388b377a1d79c5
parentd83039b5dc3daca93ea8202678d95fc48cb0a120
ASoC: SOF: Intel: add hda_dsp_stream_pair_get/put helpers

Currently, hda_dsp_stream_get/put are used to get/put the host dma.
However, we may want to use a hda stream that both host and link dma are
available. Add helper to find the hda stream and reserve/release it.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20260203114027.3742558-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-stream.c
sound/soc/sof/intel/hda.h