From 993f3b2ccf3509dd4164b77a97d4469b8abea0ba Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Thu, 28 Jan 2010 16:28:55 +0100 Subject: [PATCH] --- yaml --- r: 182861 b: refs/heads/master c: 640b796f2ca88113bf2fefd380bc807092ce6fa1 h: refs/heads/master i: 182859: 3b0831750e7d6b72d3e5c12640b7b3c1c4e1c310 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8978.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index ca6faf6558f3..e312f81f2f20 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9f5b64b767203131a7a3a280859e70d4413c9672 +refs/heads/master: 640b796f2ca88113bf2fefd380bc807092ce6fa1 diff --git a/trunk/sound/soc/codecs/wm8978.c b/trunk/sound/soc/codecs/wm8978.c index d9d4e9dd1adb..8dcebaa8604a 100644 --- a/trunk/sound/soc/codecs/wm8978.c +++ b/trunk/sound/soc/codecs/wm8978.c @@ -873,8 +873,6 @@ static int wm8978_suspend(struct platform_device *pdev, pm_message_t state) wm8978_set_bias_level(codec, SND_SOC_BIAS_OFF); /* Also switch PLL off */ snd_soc_write(codec, WM8978_POWER_MANAGEMENT_1, 0); - /* Put to sleep */ - snd_soc_write(codec, WM8978_POWER_MANAGEMENT_2, 0x40); return 0; } @@ -887,9 +885,6 @@ static int wm8978_resume(struct platform_device *pdev) int i; u16 *cache = codec->reg_cache; - /* Wake up the codec */ - snd_soc_write(codec, WM8978_POWER_MANAGEMENT_2, 0); - /* Sync reg_cache with the hardware */ for (i = 0; i < ARRAY_SIZE(wm8978_reg); i++) { if (i == WM8978_RESET)