]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: snd-usb-caiaq: Restore 'Control vinyl' input mode on A4DJ
authorMark Hills <mark@pogo.org.uk>
Sat, 29 May 2010 15:53:23 +0000 (16:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 29 May 2010 19:48:24 +0000 (21:48 +0200)
commit799cb129ebf75592661c996bda642911853befe8
tree218009160ca8d53ab3f29c0407b6383e84a39b33
parent772125cc87b8f21f3cafe59ecf0ac9313ee0411f
ALSA: snd-usb-caiaq: Restore 'Control vinyl' input mode on A4DJ

This feature was undocumented on early A4DJ units. It is indicated
by lighting both the 'line' and 'phono' lamps at the same time.
Newer units document this and the newer Windows drivers enable this
for all units, so restore the functionality.

This patch simplifies the code and changes the mode mapping to match
the A8DJ, favouring simpler code and consistency over keeping the
existing mapping.

Both 'Control vinyl' and 'Phono' input modes enable the hardware
preamp. The difference is the input impedance.

This reverts commit 37d4e01.

Acked-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/control.c