]> err.no Git - linux-2.6/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)
commit3d839e5b87a70effc629c1cdbf77d837ef141919
tree9818c65b8a7fcc97ecb4faf2e614464dfcea2fd3
parentb8e6c91c74e9f0279b7c51048779b3d62da60b88
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