diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2024-02-08 10:55:39 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-08 21:23:18 +0000 |
commit | 579d6596ebea488ad661bfa484c771c2b47eecc5 (patch) | |
tree | 9e7b33d144254eefde0feef056d8e45b707982c5 /sound/soc/intel/boards/sof_sdw_rt5682.c | |
parent | 8266c73126b75eabbebefe7ce489a798e9ef2662 (diff) |
ASoC: Intel: sof_sdw: remove .init callbacks
Some codec .init callbacks are empty after removing dai_links->init =
xxx_rtd_init;. Remove those callbacks.
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240208165545.93811-19-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 | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_rt5682.c b/sound/soc/intel/boards/sof_sdw_rt5682.c index 4e3fcc861074..6b008a5a343b 100644 --- a/sound/soc/intel/boards/sof_sdw_rt5682.c +++ b/sound/soc/intel/boards/sof_sdw_rt5682.c @@ -120,20 +120,4 @@ int rt5682_rtd_init(struct snd_soc_pcm_runtime *rtd) return ret; } - -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) -{ - /* - * headset should be initialized once. - * Do it with dai link for playback. - */ - if (!playback) - return 0; - - return 0; -} MODULE_IMPORT_NS(SND_SOC_INTEL_SOF_BOARD_HELPERS); |