diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-11-29 14:53:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-29 13:25:05 +0000 |
commit | 3bc3477915587440035f192c89a1bf9a4360abb3 (patch) | |
tree | acc749ac27a08570bbae894f19dbe1f3f77d0f3b /sound/soc/sof/sof-priv.h | |
parent | 014fdeb0d747304111cfecf93df4407c1a0c80db (diff) | |
download | linux-stable-3bc3477915587440035f192c89a1bf9a4360abb3.tar.gz linux-stable-3bc3477915587440035f192c89a1bf9a4360abb3.tar.bz2 linux-stable-3bc3477915587440035f192c89a1bf9a4360abb3.zip |
ASoC: SOF: Move sof_machine_* functions from sof-audio.c to core.c
Relocate the machine handling functions from sof-audio.c to core.c to
maintain code separation.
While doing the move, drop the redundant
IS_ERR_OR_NULL(plat_data->pdev_mach) check from
sof_machine_unregister()
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20231129125327.23708-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index f4185012eb69..faa8a19ed737 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -814,8 +814,6 @@ int sof_stream_pcm_open(struct snd_sof_dev *sdev, int sof_stream_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream); -int sof_machine_check(struct snd_sof_dev *sdev); - /* SOF client support */ #if IS_ENABLED(CONFIG_SND_SOC_SOF_CLIENT) int sof_client_dev_register(struct snd_sof_dev *sdev, const char *name, u32 id, |