summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2011-04-27 16:48:56 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-04-28 19:50:41 -0700
commitbc6cb0878899b3af84b1c4bede522dc6232052d7 (patch)
treef37cbff341b37ea74106c5e2d6e3c5dc41078621 /sound
parent0bc4f537d9c4cd7de9fa6ff0d264255ef38e88b1 (diff)
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 <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_soc_wm8753.c12
1 files changed, 0 insertions, 12 deletions
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
};