From: Clemens Ladisch Date: Thu, 2 Dec 2010 10:39:34 +0000 (+0100) Subject: ALSA: virtuoso: fix front panel routing for D1/DX/ST(X) X-Git-Tag: v2.6.38-rc1~236^2~2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e96f38f732d24515792296b3738842934c985539;p=pandora-kernel.git ALSA: virtuoso: fix front panel routing for D1/DX/ST(X) The "Front Panel" switch on the Xonar D1/DX actually switches only the output direction, so mark it appropriately. The front panel microphone is controlled by the FMIC2MIC bit of the CM9780. It was unconditionally enabled on the D1/DX and never set on the ST(X); add a control for it. Selecting the front panel microphone as source does not actually disable the microphone jack, but this is bug-compatible with the Windows driver, and users rely on it. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed