File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change 21
21
enum {
22
22
LINE6_PODHD300 ,
23
23
LINE6_PODHD400 ,
24
- LINE6_PODHD500_0 ,
25
- LINE6_PODHD500_1 ,
24
+ LINE6_PODHD500 ,
26
25
LINE6_PODX3 ,
27
26
LINE6_PODX3LIVE ,
28
27
LINE6_PODHD500X ,
@@ -318,8 +317,7 @@ static const struct usb_device_id podhd_id_table[] = {
318
317
/* TODO: no need to alloc data interfaces when only audio is used */
319
318
{ LINE6_DEVICE (0x5057 ), .driver_info = LINE6_PODHD300 },
320
319
{ LINE6_DEVICE (0x5058 ), .driver_info = LINE6_PODHD400 },
321
- { LINE6_IF_NUM (0x414D , 0 ), .driver_info = LINE6_PODHD500_0 },
322
- { LINE6_IF_NUM (0x414D , 1 ), .driver_info = LINE6_PODHD500_1 },
320
+ { LINE6_IF_NUM (0x414D , 0 ), .driver_info = LINE6_PODHD500 },
323
321
{ LINE6_IF_NUM (0x414A , 0 ), .driver_info = LINE6_PODX3 },
324
322
{ LINE6_IF_NUM (0x414B , 0 ), .driver_info = LINE6_PODX3LIVE },
325
323
{ LINE6_IF_NUM (0x4159 , 0 ), .driver_info = LINE6_PODHD500X },
@@ -352,23 +350,13 @@ static const struct line6_properties podhd_properties_table[] = {
352
350
.ep_audio_r = 0x82 ,
353
351
.ep_audio_w = 0x01 ,
354
352
},
355
- [LINE6_PODHD500_0 ] = {
353
+ [LINE6_PODHD500 ] = {
356
354
.id = "PODHD500" ,
357
355
.name = "POD HD500" ,
358
- .capabilities = LINE6_CAP_PCM
356
+ .capabilities = LINE6_CAP_PCM | LINE6_CAP_CONTROL
359
357
| LINE6_CAP_HWMON ,
360
358
.altsetting = 1 ,
361
- .ep_ctrl_r = 0x81 ,
362
- .ep_ctrl_w = 0x01 ,
363
- .ep_audio_r = 0x86 ,
364
- .ep_audio_w = 0x02 ,
365
- },
366
- [LINE6_PODHD500_1 ] = {
367
- .id = "PODHD500" ,
368
- .name = "POD HD500" ,
369
- .capabilities = LINE6_CAP_PCM
370
- | LINE6_CAP_HWMON ,
371
- .altsetting = 0 ,
359
+ .ctrl_if = 1 ,
372
360
.ep_ctrl_r = 0x81 ,
373
361
.ep_ctrl_w = 0x01 ,
374
362
.ep_audio_r = 0x86 ,
You can’t perform that action at this time.
0 commit comments