diff options
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 23bfab448844..2e1a6996fa86 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -247,9 +247,11 @@ static void mute_ac97_ctl(struct oxygen *chip, unsigned int control) | |||
247 | } | 247 | } |
248 | } | 248 | } |
249 | 249 | ||
250 | static void xonar_ac97_switch_hook(struct oxygen *chip, | 250 | static void xonar_ac97_switch_hook(struct oxygen *chip, unsigned int codec, |
251 | unsigned int reg, int mute) | 251 | unsigned int reg, int mute) |
252 | { | 252 | { |
253 | if (codec != 0) | ||
254 | return; | ||
253 | /* line-in is exclusive */ | 255 | /* line-in is exclusive */ |
254 | switch (reg) { | 256 | switch (reg) { |
255 | case AC97_LINE: | 257 | case AC97_LINE: |