mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
ASoC: SOF: change signature of set_mach_params() callback
To set additional parameters, we need to have access to sdev, not the plain vanilla struct device pointer. No functionality change. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20210409220121.1542362-4-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
ca6a012255
commit
17e9d6b0a3
@@ -259,7 +259,7 @@ struct snd_sof_dsp_ops {
|
||||
void *pdata); /* optional */
|
||||
void (*machine_select)(struct snd_sof_dev *sdev); /* optional */
|
||||
void (*set_mach_params)(const struct snd_soc_acpi_mach *mach,
|
||||
struct device *dev); /* optional */
|
||||
struct snd_sof_dev *sdev); /* optional */
|
||||
|
||||
/* DAI ops */
|
||||
struct snd_soc_dai_driver *drv;
|
||||
|
||||
Reference in New Issue
Block a user