diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-04-04 21:54:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-04 21:58:26 +0300 |
commit | 6cbf086143cf9674c7f029e1cf435c65a537066a (patch) | |
tree | cdea86a906f8d8bd0d4aa6209d378737fda5a9fa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e9ae5adce99e27ef29ea9ccb01afe260bf1c1408 (diff) | |
download | linux-6cbf086143cf9674c7f029e1cf435c65a537066a.tar.xz |
ASoC: SOF: Intel: hda-loader: change signature of code loader helpers
We need to reuse cl_prepare, cl_trigger and cl_cleanup helpers from a
SoundWire context where only the device information is
available. Rather than pass the 'sdev' argument, use get_drvdata() to
retrieve the required structure.
For consistency, rename hda_cl_stream_prepare() as hda_cl_prepare().
These three helpers are also exported so that they can be referenced
from another module.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://msgid.link/r/20240404185448.136157-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions