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)
commitbd4cbf6c7689d35d5d1248369d2c350f4711ca0a
tree218009160ca8d53ab3f29c0407b6383e84a39b33
parente8d0fee70b66694959eab10c41788b9279d73629
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 9a9527e.

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