OSDN Git Service

ASoC: SOF: Intel: add helper for link DMA cleanups
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 21 Apr 2022 20:32:00 +0000 (15:32 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 12:58:37 +0000 (13:58 +0100)
commit880924cad12e96092364467cb7b3ad7a689bec55
tree1538003bb4178c0693846e0f94b2f905f8a23e73
parent722cbbfaed2a290b1de1fb0ec4ee9a15ec240f7c
ASoC: SOF: Intel: add helper for link DMA cleanups

We do the same operations from different places, add a helper to
enforce consistency and make the programming sequences clearer.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220421203201.1550328-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dai.c