ALSA: hda - Fix volume-init of ALC299 & co
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 13:48:17 +0000 (15:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 13:48:17 +0000 (15:48 +0200)
commit050ea75317f33e376cc413359c0319ad5cc86e2a
tree76e05218f79b29456d6d6df963515dbc42c79c2e
parent39fa84e94a7df64a6ba27669ef98b51994fb6894
ALSA: hda - Fix volume-init of ALC299 & co

ALC269 and compatible codecs have the output volume in DACs, thus we
can't use the ALC880's code as is.  Fixed by checking the amp caps and
picking up the right widget for initialization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c