OSDN Git Service

ASoC: SOF: Intel: hda: retrieve SoundWire eml_lock and pass pointer
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 15 May 2023 07:10:24 +0000 (15:10 +0800)
committerVinod Koul <vkoul@kernel.org>
Sat, 27 May 2023 10:36:45 +0000 (16:06 +0530)
commitbe1798d0d7153bb9900fd6a05f4f34b9bee2c287
tree561193a206ab58552ae0b0da2e5e9adfb8e1b31f
parentec2c9dbe5392cd17b7b1144918350d67cfbb9ff7
ASoC: SOF: Intel: hda: retrieve SoundWire eml_lock and pass pointer

Use new helper and interface to make sure the HDaudio and SoundWire
parts use the same mutex when accessing shared registers.

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