Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182808
b: refs/heads/master
c: 633154d
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Dec 31, 2009
1 parent 589b297 commit 7c2d8d0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 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: adcb8bc02d86259c117a03b54e9918e5ad3121af
refs/heads/master: 633154d3a7bbd542465b905392bf76b780f00b4f
8 changes: 0 additions & 8 deletions trunk/sound/soc/codecs/wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -1507,10 +1507,6 @@ static int wm8753_suspend(struct platform_device *pdev, pm_message_t state)
struct snd_soc_device *socdev = platform_get_drvdata(pdev);
struct snd_soc_codec *codec = socdev->card->codec;

/* we only need to suspend if we are a valid card */
if (!codec->card)
return 0;

wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);
return 0;
}
Expand All @@ -1523,10 +1519,6 @@ static int wm8753_resume(struct platform_device *pdev)
u8 data[2];
u16 *cache = codec->reg_cache;

/* we only need to resume if we are a valid card */
if (!codec->card)
return 0;

/* Sync reg_cache with the hardware */
for (i = 0; i < ARRAY_SIZE(wm8753_reg); i++) {
if (i + 1 == WM8753_RESET)
Expand Down
8 changes: 0 additions & 8 deletions trunk/sound/soc/codecs/wm8990.c
Original file line number Diff line number Diff line change
Expand Up @@ -1319,10 +1319,6 @@ static int wm8990_suspend(struct platform_device *pdev, pm_message_t state)
struct snd_soc_device *socdev = platform_get_drvdata(pdev);
struct snd_soc_codec *codec = socdev->card->codec;

/* we only need to suspend if we are a valid card */
if (!codec->card)
return 0;

wm8990_set_bias_level(codec, SND_SOC_BIAS_OFF);
return 0;
}
Expand All @@ -1335,10 +1331,6 @@ static int wm8990_resume(struct platform_device *pdev)
u8 data[2];
u16 *cache = codec->reg_cache;

/* we only need to resume if we are a valid card */
if (!codec->card)
return 0;

/* Sync reg_cache with the hardware */
for (i = 0; i < ARRAY_SIZE(wm8990_reg); i++) {
if (i + 1 == WM8990_RESET)
Expand Down

0 comments on commit 7c2d8d0

Please sign in to comment.