aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_via.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index e0dadcf2030d..75fdb51345a7 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -231,9 +231,14 @@ static void vt1708_update_hp_work(struct hda_codec *codec)
231 231
232static void set_widgets_power_state(struct hda_codec *codec) 232static void set_widgets_power_state(struct hda_codec *codec)
233{ 233{
234#if 0 /* FIXME: the assumed connections don't match always with the
235 * actual routes by the generic parser, so better to disable
236 * the control for safety.
237 */
234 struct via_spec *spec = codec->spec; 238 struct via_spec *spec = codec->spec;
235 if (spec->set_widgets_power_state) 239 if (spec->set_widgets_power_state)
236 spec->set_widgets_power_state(codec); 240 spec->set_widgets_power_state(codec);
241#endif
237} 242}
238 243
239static void update_power_state(struct hda_codec *codec, hda_nid_t nid, 244static void update_power_state(struct hda_codec *codec, hda_nid_t nid,