diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-08-13 18:11:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-13 18:50:40 +0300 |
commit | cdf99c9ab72161885d8670723a21699a384a5dbe (patch) | |
tree | 68581332bf1b9ff9060706593e6b4606a3e9322b /sound/soc/intel/boards/sof_sdw_rt5682.c | |
parent | d3409eb20d3ed7d9e021cd13243e9e63255a315f (diff) | |
download | linux-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_rt5682.c')
-rw-r--r-- | sound/soc/intel/boards/sof_sdw_rt5682.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_rt5682.c b/sound/soc/intel/boards/sof_sdw_rt5682.c index 5fa1a59615b6..ea55479609a8 100644 --- a/sound/soc/intel/boards/sof_sdw_rt5682.c +++ b/sound/soc/intel/boards/sof_sdw_rt5682.c @@ -111,7 +111,8 @@ static int rt5682_rtd_init(struct snd_soc_pcm_runtime *rtd) return ret; } -int sof_sdw_rt5682_init(const struct snd_soc_acpi_link_adr *link, +int sof_sdw_rt5682_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) |