diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-10-05 08:25:13 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-10-05 08:29:49 +0200 |
commit | 15870f05e90a365f8022da416e713be0c5024e2f (patch) | |
tree | 36b77ec1a4c315fafaf2dcd63090f4eac755ae30 /lib/locking-selftest-rlock.h | |
parent | 7085ec12a62ec2e990bc7d984bee7ba28e5c1dec (diff) |
ALSA: hda - Fix invalid initializations for ALC861 auto mode
The recent auto-parser doesn't work for machines with a single output
with ALC861, such as Toshiba laptops, because alc_subsystem_id() sets
the hp_pins[0] while it's listed in line_outs[0].
This ends up with the doubled initialization of the same mixer widget,
and it mutes the DAC route because hp_pins has no DAC assigned.
To fix this problem, just check spec->autocfg.hp_outs and speaker_outs
so that they are really detected pins.
Reference: Novell bnc#544161
http://bugzilla.novell.com/show_bug.cgi?id=544161
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions