aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-31 13:54:10 +0200
committerTakashi Iwai <tiwai@suse.de>2013-06-03 11:32:55 +0200
commit087c2e3b4e062573dbbc8a50b9208992e3768dcf (patch)
tree1bee83579f90ce55baf63e191c03637a2b72967a /sound
parenta0c6d309c6df14655f9962f666d1da96318b0b7c (diff)
downloadkernel_goldelico_gta04-087c2e3b4e062573dbbc8a50b9208992e3768dcf.zip
kernel_goldelico_gta04-087c2e3b4e062573dbbc8a50b9208992e3768dcf.tar.gz
kernel_goldelico_gta04-087c2e3b4e062573dbbc8a50b9208992e3768dcf.tar.bz2
ALSA: hda/via - Disable broken dynamic power control
Since the transition to the generic parser, the actual routes used there don't match always with the assumed static paths in some set_widgets_power_state callbacks. This results in the wrong power setup in the end. As a temporary workaround, we need to disable the calls together with the non-functional dynamic power control enum. Reported-by: Alex Riesen <raa.lkml@gmail.com> Cc: <stable@vger.kernel.org> [v3.9] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-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 e0dadcf..75fdb51 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)
static void set_widgets_power_state(struct hda_codec *codec)
{
+#if 0 /* FIXME: the assumed connections don't match always with the
+ * actual routes by the generic parser, so better to disable
+ * the control for safety.
+ */
struct via_spec *spec = codec->spec;
if (spec->set_widgets_power_state)
spec->set_widgets_power_state(codec);
+#endif
}
static void update_power_state(struct hda_codec *codec, hda_nid_t nid,