OSDN Git Service

ALSA: hda - Look for boost controls more deeply
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 10:07:15 +0000 (11:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 10:07:15 +0000 (11:07 +0100)
commit6f7c83afc6cc3f66d13e4ad0a0f5693d9175e1ab
tree7b3e620e0069a1e00890841287ffde18331948c8
parent8999bf0af035ecbea039914a5af2f23f5a621d62
ALSA: hda - Look for boost controls more deeply

In the current generic parser code, we look for the (mic) boost
controls only on input pins.  But many codecs assign the boost volume
to a widget connected to each input pin instead of the input amp of
the pin itself.

In this patch, the parser tries to look through more widgets connected
to the pin and find a boost amp.

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