summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_sdw_rt715.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-08-13 18:11:12 +0300
committerMark Brown <broonie@kernel.org>2021-08-13 18:50:40 +0300
commitcdf99c9ab72161885d8670723a21699a384a5dbe (patch)
tree68581332bf1b9ff9060706593e6b4606a3e9322b /sound/soc/intel/boards/sof_sdw_rt715.c
parentd3409eb20d3ed7d9e021cd13243e9e63255a315f (diff)
downloadlinux-cdf99c9ab72161885d8670723a21699a384a5dbe.tar.xz
ASoC: Intel: sof_sdw: pass card information to init/exit functions
If we want to handle a context in init/exit function, we have to pass the card information. This will be necessary to better deal with device properties in the follow-up commits. No functional change other than prototype update. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210813151116.23931-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_sdw_rt715.c')
-rw-r--r--sound/soc/intel/boards/sof_sdw_rt715.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_rt715.c b/sound/soc/intel/boards/sof_sdw_rt715.c
index 9b298f79e784..c8af3780cbc3 100644
--- a/sound/soc/intel/boards/sof_sdw_rt715.c
+++ b/sound/soc/intel/boards/sof_sdw_rt715.c
@@ -24,7 +24,8 @@ static int rt715_rtd_init(struct snd_soc_pcm_runtime *rtd)
return 0;
}
-int sof_sdw_rt715_init(const struct snd_soc_acpi_link_adr *link,
+int sof_sdw_rt715_init(struct snd_soc_card *card,
+ const struct snd_soc_acpi_link_adr *link,
struct snd_soc_dai_link *dai_links,
struct sof_sdw_codec_info *info,
bool playback)