ALSA: hda - Don't send invalid volume knob command on IDT 92hd75bxx
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 16 Aug 2012 12:11:09 +0000 (14:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Aug 2012 12:14:56 +0000 (14:14 +0200)
commit5e68fb3cab23b327e9f15803607e697d7eea1966
treeb1a9df94e069b24cd03c311adc579f4f4026f886
parente9ba389c5ffc4dd29dfe17e00e48877302111135
ALSA: hda - Don't send invalid volume knob command on IDT 92hd75bxx

Instead of blindly initializing a volume knob widget, first check
that there actually is a volume knob widget.

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