[alsa-devel] [PATCH 3/4] Revert "ALSA: snd-usb-caiaq: Set default input mode of A4DJ"

Mark Hills mark at pogo.org.uk
Sat May 29 17:53:25 CEST 2010


Do not explicity set the default input mode. Use the hardware default
of mode 0 ('Control vinyl'), which is now available.

This reverts commit e3ca4c9.

Acked-by: Daniel Mack <daniel at caiaq.de>
Signed-off-by: Mark Hills <mark at pogo.org.uk>
---
 sound/usb/caiaq/device.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c
index 8052718..bf71048 100644
--- a/sound/usb/caiaq/device.c
+++ b/sound/usb/caiaq/device.c
@@ -320,12 +320,6 @@ static void __devinit setup_card(struct snd_usb_caiaqdev *dev)
 		}
 
 		break;
-	case USB_ID(USB_VID_NATIVEINSTRUMENTS, USB_PID_AUDIO4DJ):
-		/* Audio 4 DJ - default input mode to phono */
-		dev->control_state[0] = 2;
-		snd_usb_caiaq_send_command(dev, EP1_CMD_WRITE_IO,
-			dev->control_state, 1);
-		break;
 	}
 
 	if (dev->spec.num_analog_audio_out +
-- 
1.7.1



More information about the Alsa-devel mailing list