From f7fd1fa7970dd95969d2e6d11ff8a66c85e24641 Mon Sep 17 00:00:00 2001 From: Jassi Brar Date: Tue, 19 Oct 2010 16:04:21 +0900 Subject: [PATCH] --- yaml --- r: 216651 b: refs/heads/master c: c429ffbe038a649d121e6cecba5cf66777f39370 h: refs/heads/master i: 216649: 7535e3eb6dff335fca91f1833a6e92e8d91457a1 216647: 6d5765db2beadc5fe455456d990ad0cefdfd9d63 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8580.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 167bf21f713f..c577b43bc456 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0589944661b9a9b9692f455fbbfce5eeda8fa7b6 +refs/heads/master: c429ffbe038a649d121e6cecba5cf66777f39370 diff --git a/trunk/sound/soc/codecs/wm8580.c b/trunk/sound/soc/codecs/wm8580.c index ad5987e6c9ca..a2e0ed59b376 100644 --- a/trunk/sound/soc/codecs/wm8580.c +++ b/trunk/sound/soc/codecs/wm8580.c @@ -548,11 +548,9 @@ static int wm8580_set_paif_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) { struct snd_soc_codec *codec = codec_dai->codec; - struct wm8580_priv *wm8580 = snd_soc_codec_get_drvdata(codec); unsigned int aifa; unsigned int aifb; int can_invert_lrclk; - int sysclk; aifa = snd_soc_read(codec, WM8580_PAIF1 + codec_dai->driver->id); aifb = snd_soc_read(codec, WM8580_PAIF3 + codec_dai->driver->id); @@ -621,8 +619,6 @@ static int wm8580_set_paif_dai_fmt(struct snd_soc_dai *codec_dai, return -EINVAL; } - sysclk = wm8580->sysclk[codec_dai->driver->id]; - snd_soc_write(codec, WM8580_PAIF1 + codec_dai->driver->id, aifa); snd_soc_write(codec, WM8580_PAIF3 + codec_dai->driver->id, aifb);