Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276276
b: refs/heads/master
c: 88d6860
h: refs/heads/master
v: v3
  • Loading branch information
Charles Chin authored and Takashi Iwai committed Dec 1, 2011
1 parent 892607d commit 5ad2cbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 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: 4f8b6c7dc80ac9619db033c7f6fc355eab9514f5
refs/heads/master: 88d686027bb43f585914c77dd363f6e817b42c2a
18 changes: 0 additions & 18 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5057,20 +5057,6 @@ static int stac92xx_pre_resume(struct hda_codec *codec)
return 0;
}

static int stac92xx_post_suspend(struct hda_codec *codec)
{
struct sigmatel_spec *spec = codec->spec;
if (spec->gpio_led > 8) {
/* with vref-out pin used for mute led control
* codec AFG is prevented from D3 state, but on
* system suspend it can (and should) be used
*/
snd_hda_codec_read(codec, codec->afg, 0,
AC_VERB_SET_POWER_STATE, AC_PWRST_D3);
}
return 0;
}

static void stac92xx_set_power_state(struct hda_codec *codec, hda_nid_t fg,
unsigned int power_state)
{
Expand Down Expand Up @@ -5670,8 +5656,6 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
} else {
codec->patch_ops.set_power_state =
stac92xx_set_power_state;
codec->patch_ops.post_suspend =
stac92xx_post_suspend;
}
codec->patch_ops.pre_resume = stac92xx_pre_resume;
codec->patch_ops.check_power_status =
Expand Down Expand Up @@ -5985,8 +5969,6 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
} else {
codec->patch_ops.set_power_state =
stac92xx_set_power_state;
codec->patch_ops.post_suspend =
stac92xx_post_suspend;
}
codec->patch_ops.pre_resume = stac92xx_pre_resume;
codec->patch_ops.check_power_status =
Expand Down

0 comments on commit 5ad2cbe

Please sign in to comment.