Skip to content

Commit

Permalink
ALSA: virtuoso: fix Xonar D1/DX front panel microphone
Browse files Browse the repository at this point in the history
Commit 65c3ac8 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: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed May 12, 2010
1 parent b57f95a commit 6a45f78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/pci/oxygen/xonar_cs43xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include <sound/pcm_params.h>
#include <sound/tlv.h>
#include "xonar.h"
#include "cm9780.h"
#include "cs4398.h"
#include "cs4362a.h"

Expand Down Expand Up @@ -172,6 +173,8 @@ static void xonar_d1_init(struct oxygen *chip)
oxygen_clear_bits16(chip, OXYGEN_GPIO_DATA,
GPIO_D1_FRONT_PANEL | GPIO_D1_INPUT_ROUTE);

oxygen_ac97_set_bits(chip, 0, CM9780_JACK, CM9780_FMIC2MIC);

xonar_init_cs53x1(chip);
xonar_enable_output(chip);

Expand Down

0 comments on commit 6a45f78

Please sign in to comment.