Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293125
b: refs/heads/master
c: 7907ae3
h: refs/heads/master
i:
  293123: 1de5c30
v: v3
  • Loading branch information
Takashi Iwai committed Mar 14, 2012
1 parent dbab914 commit abd0d44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: f29735cbef4eb6072e5ae459b556f3a061efc47e
refs/heads/master: 7907ae3e50613ae1c6d1a10f34fcd63f4123b93d
8 changes: 0 additions & 8 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ static int stac92xx_smux_enum_put(struct snd_kcontrol *kcontrol,
return 0;
}

#ifdef CONFIG_SND_HDA_POWER_SAVE
static int stac_vrefout_set(struct hda_codec *codec,
hda_nid_t nid, unsigned int new_vref)
{
Expand All @@ -689,7 +688,6 @@ static int stac_vrefout_set(struct hda_codec *codec,

return 1;
}
#endif

static unsigned int stac92xx_vref_set(struct hda_codec *codec,
hda_nid_t nid, unsigned int new_vref)
Expand Down Expand Up @@ -5011,7 +5009,6 @@ static int stac92xx_suspend(struct hda_codec *codec, pm_message_t state)
return 0;
}

#ifdef CONFIG_SND_HDA_POWER_SAVE
static int stac92xx_pre_resume(struct hda_codec *codec)
{
struct sigmatel_spec *spec = codec->spec;
Expand Down Expand Up @@ -5046,7 +5043,6 @@ static void stac92xx_set_power_state(struct hda_codec *codec, hda_nid_t fg,
afg_power_state);
snd_hda_codec_set_power_to_all(codec, fg, power_state, true);
}
#endif /* CONFIG_SND_HDA_POWER_SAVE */
#endif /* CONFIG_PM */

/* update mute-LED accoring to the master switch */
Expand Down Expand Up @@ -5583,7 +5579,6 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
spec->gpio_led,
spec->gpio_led_polarity);

#ifdef CONFIG_SND_HDA_POWER_SAVE
if (spec->gpio_led) {
if (!spec->vref_mute_led_nid) {
spec->gpio_mask |= spec->gpio_led;
Expand All @@ -5595,7 +5590,6 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
}
codec->patch_ops.pre_resume = stac92xx_pre_resume;
}
#endif

err = stac92xx_parse_auto_config(codec);
if (!err) {
Expand Down Expand Up @@ -5892,7 +5886,6 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
spec->gpio_led,
spec->gpio_led_polarity);

#ifdef CONFIG_SND_HDA_POWER_SAVE
if (spec->gpio_led) {
if (!spec->vref_mute_led_nid) {
spec->gpio_mask |= spec->gpio_led;
Expand All @@ -5904,7 +5897,6 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
}
codec->patch_ops.pre_resume = stac92xx_pre_resume;
}
#endif

spec->multiout.dac_nids = spec->dac_nids;

Expand Down

0 comments on commit abd0d44

Please sign in to comment.