From 06315a6e83d563e861df33e6af86638254abba63 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 4 Oct 2011 07:44:22 +0800 Subject: [PATCH] --- yaml --- r: 270755 b: refs/heads/master c: 1a3bbb40da5c01e422309f52475e91886c573718 h: refs/heads/master i: 270753: f0174b6c938d13530ecca1aa829b523e41b65d91 270751: 4331910c99aa1bf744948d5e8f2105ef7c1be54e v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8971.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index fe8dfd2b97c9..bbcd46537155 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d224e8f184ee2af6de6a7204e198f3a7d36e8a2 +refs/heads/master: 1a3bbb40da5c01e422309f52475e91886c573718 diff --git a/trunk/sound/soc/codecs/wm8971.c b/trunk/sound/soc/codecs/wm8971.c index ce33a94b6aad..08ea6f832365 100644 --- a/trunk/sound/soc/codecs/wm8971.c +++ b/trunk/sound/soc/codecs/wm8971.c @@ -612,7 +612,7 @@ static int wm8971_resume(struct snd_soc_codec *codec) /* Sync reg_cache with the hardware */ for (i = 0; i < ARRAY_SIZE(wm8971_reg); i++) { - if (i + 1 == WM8971_RESET) + if (i == WM8971_RESET) continue; data[0] = (i << 1) | ((cache[i] >> 8) & 0x0001); data[1] = cache[i] & 0x00ff;