diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-03-30 13:19:24 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-04 08:39:09 +0100 |
commit | 2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a (patch) | |
tree | 95647f49a178f986f76ecae65889fbbe82b0250b /sound/soc/sof/intel/tgl.c | |
parent | 5db8eb5b9e35c712cc63fcebf04c80ace9812961 (diff) | |
download | linux-2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a.tar.gz linux-2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a.tar.bz2 linux-2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a.zip |
ASoC: SOF: Drop 'header' parameter from tx_message() API
The header parameter is not used anymore and now it can be dropped from
the parameter list of tx_message().
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220330201926.1330402-10-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/tgl.c')
-rw-r--r-- | sound/soc/sof/intel/tgl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sof/intel/tgl.c b/sound/soc/sof/intel/tgl.c index cb1c319d5bee..72d92ff6cef5 100644 --- a/sound/soc/sof/intel/tgl.c +++ b/sound/soc/sof/intel/tgl.c @@ -35,8 +35,7 @@ static int tgl_dsp_core_get(struct snd_sof_dev *sdev, int core) return hda_dsp_enable_core(sdev, BIT(core)); /* notify DSP for secondary cores */ - return sof_ipc_tx_message(sdev->ipc, pm_core_config.hdr.cmd, - &pm_core_config, sizeof(pm_core_config), + return sof_ipc_tx_message(sdev->ipc, &pm_core_config, sizeof(pm_core_config), &pm_core_config, sizeof(pm_core_config)); } @@ -55,8 +54,7 @@ static int tgl_dsp_core_put(struct snd_sof_dev *sdev, int core) return hda_dsp_core_reset_power_down(sdev, BIT(core)); /* notify DSP for secondary cores */ - return sof_ipc_tx_message(sdev->ipc, pm_core_config.hdr.cmd, - &pm_core_config, sizeof(pm_core_config), + return sof_ipc_tx_message(sdev->ipc, &pm_core_config, sizeof(pm_core_config), &pm_core_config, sizeof(pm_core_config)); } |