From bc6cb0878899b3af84b1c4bede522dc6232052d7 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 27 Apr 2011 16:48:56 -0700 Subject: fixup: arm: tegra: Fix suspend/resume issue for spdif Original: http://git-master/r/28520 Change-Id: Ic6258c9a745e83595510789a6ed4c71c317ce1ba Reviewed-on: http://git-master/r/29577 Reviewed-by: Daniel Willemsen Tested-by: Daniel Willemsen Reviewed-by: Scott Peterson --- sound/soc/tegra/tegra_soc_wm8753.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'sound') diff --git a/sound/soc/tegra/tegra_soc_wm8753.c b/sound/soc/tegra/tegra_soc_wm8753.c index 44380ee4649f..3456b2541ee8 100644 --- a/sound/soc/tegra/tegra_soc_wm8753.c +++ b/sound/soc/tegra/tegra_soc_wm8753.c @@ -376,11 +376,6 @@ static int tegra_voice_hw_free(struct snd_pcm_substream *substream) { return 0; } -static int tegra_spdif_hw_params(struct snd_pcm_substream *substream, - struct snd_pcm_hw_params *params) -{ - return 0; -} static int tegra_spdif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) @@ -539,10 +534,6 @@ static const struct snd_soc_dapm_route audio_map[] = { {"LINE2", NULL, "Linein"}, }; -static struct snd_soc_ops tegra_spdif_ops = { - .hw_params = tegra_spdif_hw_params, -}; - static void wm8753_intr_work(struct work_struct *work) { unsigned int value; @@ -726,9 +717,6 @@ static struct snd_soc_dai_link tegra_soc_dai[] = { TEGRA_CREATE_SOC_DAI_LINK("Tegra-generic", "Tegra Generic Voice", &tegra_i2s_dai[1], &tegra_generic_codec_dai[1], &tegra_voice_ops), - TEGRA_CREATE_SOC_DAI_LINK("Tegra-spdif", "Tegra Spdif", - &tegra_spdif_dai, &tegra_generic_codec_dai[1], - &tegra_spdif_ops), #endif }; -- cgit v1.2.3