Commit 6a45f782 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai

ALSA: virtuoso: fix Xonar D1/DX front panel microphone

Commit 65c3ac88 in 2.6.33 accidentally
left out the initialization of the AC97 codec FMIC2MIC bit, which broke
recording from the front panel microphone.
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b57f95a3
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/tlv.h> #include <sound/tlv.h>
#include "xonar.h" #include "xonar.h"
#include "cm9780.h"
#include "cs4398.h" #include "cs4398.h"
#include "cs4362a.h" #include "cs4362a.h"
...@@ -172,6 +173,8 @@ static void xonar_d1_init(struct oxygen *chip) ...@@ -172,6 +173,8 @@ static void xonar_d1_init(struct oxygen *chip)
oxygen_clear_bits16(chip, OXYGEN_GPIO_DATA, oxygen_clear_bits16(chip, OXYGEN_GPIO_DATA,
GPIO_D1_FRONT_PANEL | GPIO_D1_INPUT_ROUTE); GPIO_D1_FRONT_PANEL | GPIO_D1_INPUT_ROUTE);
oxygen_ac97_set_bits(chip, 0, CM9780_JACK, CM9780_FMIC2MIC);
xonar_init_cs53x1(chip); xonar_init_cs53x1(chip);
xonar_enable_output(chip); xonar_enable_output(chip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment