diff options
author | Markus Grabner <grabner@icg.tugraz.at> | 2012-01-19 23:09:08 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 17:14:35 (GMT) |
commit | 12177acdecfcb538b86590036a56fc47b443e135 (patch) | |
tree | bd6465488f4267ea5e1206c76485c2ef67688c46 /drivers | |
parent | 3784129a9de3fc33ffe6c6ece906a9caa1c65fab (diff) | |
download | linux-fsl-qoriq-12177acdecfcb538b86590036a56fc47b443e135.tar.xz |
staging: line6: use source select control for UX2 devices
Signed-off-by: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/line6/toneport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/line6/toneport.c b/drivers/staging/line6/toneport.c index f310578..b776130 100644 --- a/drivers/staging/line6/toneport.c +++ b/drivers/staging/line6/toneport.c @@ -320,7 +320,9 @@ static void toneport_setup(struct usb_line6_toneport *toneport) /* initialize source select: */ switch (usbdev->descriptor.idProduct) { case LINE6_DEVID_TONEPORT_UX1: + case LINE6_DEVID_TONEPORT_UX2: case LINE6_DEVID_PODSTUDIO_UX1: + case LINE6_DEVID_PODSTUDIO_UX2: toneport_send_cmd(usbdev, toneport_source_info[toneport->source].code, 0x0000); @@ -363,7 +365,9 @@ static int toneport_try_init(struct usb_interface *interface, /* register source select control: */ switch (usbdev->descriptor.idProduct) { case LINE6_DEVID_TONEPORT_UX1: + case LINE6_DEVID_TONEPORT_UX2: case LINE6_DEVID_PODSTUDIO_UX1: + case LINE6_DEVID_PODSTUDIO_UX2: err = snd_ctl_add(line6->card, snd_ctl_new1(&toneport_control_source, |