staging: line6: Remove unsupported X3 devices
authorChris Rorvick <chris@rorvick.com>
Mon, 12 Jan 2015 20:42:38 +0000 (12:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2015 21:23:58 +0000 (22:23 +0100)
Support for these devices appears to have never been completed.  Remove
them from the device table along with a minimal amount of supporting
code.

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/staging/line6/driver.c
drivers/staging/line6/pcm.c
drivers/staging/line6/usbdefs.h

index 15f3bc4ddb7d55eb45f49f7daf72a288f3e09534..e40400b842a05274817362835381d7bcbf4cb717 100644 (file)
@@ -43,8 +43,6 @@ static const struct usb_device_id line6_id_table[] = {
        {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODSTUDIO_GX)},
        {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODSTUDIO_UX1)},
        {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODSTUDIO_UX2)},
-       {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODX3)},
-       {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODX3LIVE)},
        {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODXT)},
        {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODXTLIVE)},
        {USB_DEVICE(LINE6_VENDOR_ID, LINE6_DEVID_PODXTPRO)},
@@ -74,8 +72,6 @@ static const struct line6_properties line6_properties_table[] = {
        L6PROP("PODStudioGX",   "POD Studio GX",    PCM),
        L6PROP("PODStudioUX1",  "POD Studio UX1",   PCM),
        L6PROP("PODStudioUX2",  "POD Studio UX2",   PCM),
-       L6PROP("PODX3",         "POD X3",           PCM),
-       L6PROP("PODX3Live",     "POD X3 Live",      PCM),
        L6PROP("PODxt",         "PODxt",            CTRL_PCM_HW),
        L6PROP("PODxtLive",     "PODxt Live",       CTRL_PCM_HW),
        L6PROP("PODxtPro",      "PODxt Pro",        CTRL_PCM_HW),
@@ -673,8 +669,6 @@ static int line6_probe(struct usb_interface *interface,
                break;
 
        case LINE6_DEVID_PODHD500:
-       case LINE6_DEVID_PODX3:
-       case LINE6_DEVID_PODX3LIVE:
                switch (interface_number) {
                case 0:
                        alternate = 1;
@@ -765,14 +759,6 @@ static int line6_probe(struct usb_interface *interface,
                ep_write = 0x02;
                break;
 
-       case LINE6_DEVID_PODX3:
-       case LINE6_DEVID_PODX3LIVE:
-               /* currently unused! */
-               size = sizeof(struct usb_line6_pod);
-               ep_read = 0x81;
-               ep_write = 0x01;
-               break;
-
        case LINE6_DEVID_PODSTUDIO_GX:
        case LINE6_DEVID_PODSTUDIO_UX1:
        case LINE6_DEVID_PODSTUDIO_UX2:
@@ -898,8 +884,6 @@ static int line6_probe(struct usb_interface *interface,
        case LINE6_DEVID_BASSPODXTLIVE:
        case LINE6_DEVID_BASSPODXTPRO:
        case LINE6_DEVID_POCKETPOD:
-       case LINE6_DEVID_PODX3:
-       case LINE6_DEVID_PODX3LIVE:
        case LINE6_DEVID_PODXT:
        case LINE6_DEVID_PODXTPRO:
                ret = line6_pod_init(interface, (struct usb_line6_pod *)line6);
@@ -971,14 +955,6 @@ static int line6_probe(struct usb_interface *interface,
        dev_info(&interface->dev, "Line6 %s now attached\n",
                 line6->properties->name);
 
-       switch (product) {
-       case LINE6_DEVID_PODX3:
-       case LINE6_DEVID_PODX3LIVE:
-               dev_info(&interface->dev,
-                        "NOTE: the Line6 %s is detected, but not yet supported\n",
-                        line6->properties->name);
-       }
-
        /* increment reference counters: */
        usb_get_intf(interface);
        usb_get_dev(usbdev);
@@ -1026,8 +1002,6 @@ static void line6_disconnect(struct usb_interface *interface)
                case LINE6_DEVID_BASSPODXTLIVE:
                case LINE6_DEVID_BASSPODXTPRO:
                case LINE6_DEVID_POCKETPOD:
-               case LINE6_DEVID_PODX3:
-               case LINE6_DEVID_PODX3LIVE:
                case LINE6_DEVID_PODXT:
                case LINE6_DEVID_PODXTPRO:
                        line6_pod_disconnect(interface);
index a3136b189ee5bc7f670f96379e81e0f58c253871..076c87b689d00b9797345ff58c21fe05bcbfeed2 100644 (file)
@@ -442,8 +442,6 @@ int line6_init_pcm(struct usb_line6 *line6,
                break;
 
        case LINE6_DEVID_PODHD500:
-       case LINE6_DEVID_PODX3:
-       case LINE6_DEVID_PODX3LIVE:
                ep_read = 0x86;
                ep_write = 0x02;
                break;
index 2bc2fe7bd102decda5cb7bace604d1bc1834cb9f..06bf909620e90ff12a791c44576d29609535a9db 100644 (file)
@@ -30,8 +30,6 @@
 #define LINE6_DEVID_PODSTUDIO_GX  0x4153
 #define LINE6_DEVID_PODSTUDIO_UX1 0x4150
 #define LINE6_DEVID_PODSTUDIO_UX2 0x4151
-#define LINE6_DEVID_PODX3         0x414a
-#define LINE6_DEVID_PODX3LIVE     0x414b
 #define LINE6_DEVID_PODXT         0x5044
 #define LINE6_DEVID_PODXTLIVE     0x4650
 #define LINE6_DEVID_PODXTPRO      0x5050
This page took 0.030139 seconds and 5 git commands to generate.