]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: oxygen: prevent muting of nonexistent AC97 controls
authorClemens Ladisch <clemens@ladisch.de>
Tue, 26 Aug 2008 18:05:03 +0000 (18:05 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Sep 2008 11:44:18 +0000 (04:44 -0700)
commit752e95e66704fe0b158dde2a01c9aee3babbd832
tree25159b0eeaa6726f115b1ec9586d7a8a9d73d5ca
parenta87a91ca57d61754926b25f06b0b36dcfbee6ae4
ALSA: oxygen: prevent muting of nonexistent AC97 controls

commit 3d839e5b87a70effc629c1cdbf77d837ef141919 upstream

Date: Tue, 26 Aug 2008 11:06:26 +0200
Subject: 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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/oxygen/oxygen_mixer.c