ALSA: hda - Fix the logic to detect VIA analog low-current mode
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Jan 2012 12:58:36 +0000 (13:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 2 Feb 2012 09:16:32 +0000 (10:16 +0100)
commit924339239fd5ba3e505f9420d41f0939196f3530
tree416dc6dd37ab0b29ab52ce9246b3cac5c151c5bd
parent054d867e032daf55c3343fc6d36c5c5f1e7954db
ALSA: hda - Fix the logic to detect VIA analog low-current mode

The analog low-current mode must be enabled when the no stream is
running but the current detection checks it in a wrong way.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=741128

Cc: <stable@kernel.org> [v3.1+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c