]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oxygen: prevent muting of nonexistent AC97 controls
authorClemens Ladisch <clemens@ladisch.de>
Tue, 26 Aug 2008 09:06:26 +0000 (11:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Aug 2008 10:43:13 +0000 (12:43 +0200)
commit852b5c0bfaea5045ddb190fccff5126b1da71322
tree9818c65b8a7fcc97ecb4faf2e614464dfcea2fd3
parent03aa95fe911cc1006d9237a3f5c0b81f52d3dab6
ALSA: oxygen: prevent muting of nonexistent AC97 controls

The Xonar DX does not have CD Capture controls, so we have to check that
a control actually exists before muting it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen_mixer.c