ALSA: hda - do not add non-existing Mic boost controls
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 16 Jan 2013 14:58:43 +0000 (15:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Jan 2013 15:22:43 +0000 (16:22 +0100)
commit02aba550537a666b8d09346f39d6372c78b115a5
treed017a8bfc4aacf6a8865da0eacf700e2fe098357
parentc0f3b21643487e2bbf8af534a33ffd2857e18fa1
ALSA: hda - do not add non-existing Mic boost controls

If the input node does not have any volume capable input amp,
don't add such a control.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c