Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182861
b: refs/heads/master
c: 640b796
h: refs/heads/master
i:
  182859: 3b08317
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mark Brown committed Jan 29, 2010
1 parent 9092999 commit 993f3b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f5b64b767203131a7a3a280859e70d4413c9672
refs/heads/master: 640b796f2ca88113bf2fefd380bc807092ce6fa1
5 changes: 0 additions & 5 deletions trunk/sound/soc/codecs/wm8978.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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)
Expand Down

0 comments on commit 993f3b2

Please sign in to comment.