Commit 12177acd authored by Markus Grabner's avatar Markus Grabner Committed by Greg Kroah-Hartman

staging: line6: use source select control for UX2 devices

Signed-off-by: default avatarMarkus Grabner <grabner@icg.tugraz.at>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3784129a
...@@ -320,7 +320,9 @@ static void toneport_setup(struct usb_line6_toneport *toneport) ...@@ -320,7 +320,9 @@ static void toneport_setup(struct usb_line6_toneport *toneport)
/* initialize source select: */ /* initialize source select: */
switch (usbdev->descriptor.idProduct) { switch (usbdev->descriptor.idProduct) {
case LINE6_DEVID_TONEPORT_UX1: case LINE6_DEVID_TONEPORT_UX1:
case LINE6_DEVID_TONEPORT_UX2:
case LINE6_DEVID_PODSTUDIO_UX1: case LINE6_DEVID_PODSTUDIO_UX1:
case LINE6_DEVID_PODSTUDIO_UX2:
toneport_send_cmd(usbdev, toneport_send_cmd(usbdev,
toneport_source_info[toneport->source].code, toneport_source_info[toneport->source].code,
0x0000); 0x0000);
...@@ -363,7 +365,9 @@ static int toneport_try_init(struct usb_interface *interface, ...@@ -363,7 +365,9 @@ static int toneport_try_init(struct usb_interface *interface,
/* register source select control: */ /* register source select control: */
switch (usbdev->descriptor.idProduct) { switch (usbdev->descriptor.idProduct) {
case LINE6_DEVID_TONEPORT_UX1: case LINE6_DEVID_TONEPORT_UX1:
case LINE6_DEVID_TONEPORT_UX2:
case LINE6_DEVID_PODSTUDIO_UX1: case LINE6_DEVID_PODSTUDIO_UX1:
case LINE6_DEVID_PODSTUDIO_UX2:
err = err =
snd_ctl_add(line6->card, snd_ctl_add(line6->card,
snd_ctl_new1(&toneport_control_source, snd_ctl_new1(&toneport_control_source,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment