[ALSA] virtuoso: correctly switch input jack on Xonar DX
authorClemens Ladisch <clemens@ladisch.de>
Wed, 9 Apr 2008 07:16:14 +0000 (09:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:32 +0000 (12:00 +0200)
commit11864b4b84194b459fc20e0ec47906885bddb12e
treecd50f762af2aa05c25657ee7d5486a2b67d66a52
parenta9d3cc485e65a56edc9ef78c034146cc8a5b3101
[ALSA] virtuoso: correctly switch input jack on Xonar DX

When selecting the capture source on the Xonar DX, the input jack must
be routed to either the line input or the microphone input by setting a
GPIO pin.  This requires an additional callback so that the model driver
can hook into the toggling of AC97 switches.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen.h
sound/pci/oxygen/oxygen_mixer.c
sound/pci/oxygen/virtuoso.c