Commit dd2f8c2f authored by John S Gruber's avatar John S Gruber Committed by Takashi Iwai

ALSA: usb - Correct audio problem for Hauppage HVR-850 and others rel. to urb data align

Match usb ids in usb/quirks-table.h for some Hauppage HVR-950Q models
and for the HVR850 model to those ids at the end of au0828-cards.c

Thanks to nhJm449 for pointing out the problem.
Signed-off-by: default avatarJohn S Gruber <JohnSGruber@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9c294902
...@@ -2152,7 +2152,21 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2152,7 +2152,21 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7201), USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS,
.bInterfaceClass = USB_CLASS_AUDIO,
.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
.vendor_name = "Hauppauge",
.product_name = "HVR-850",
.ifnum = QUIRK_ANY_INTERFACE,
.type = QUIRK_AUDIO_ALIGN_TRANSFER,
}
},
{
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2166,7 +2180,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2166,7 +2180,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7202), USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2180,7 +2194,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2180,7 +2194,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7203), USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2194,7 +2208,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2194,7 +2208,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7204), USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2208,7 +2222,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2208,7 +2222,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7205), USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2222,7 +2236,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2222,7 +2236,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7250), USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2236,7 +2250,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2236,7 +2250,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
}, },
{ {
USB_DEVICE_VENDOR_SPEC(0x2040, 0x7230), USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_CLASS |
USB_DEVICE_ID_MATCH_INT_SUBCLASS, USB_DEVICE_ID_MATCH_INT_SUBCLASS,
...@@ -2244,7 +2258,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2244,7 +2258,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL, .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
.vendor_name = "Hauppauge", .vendor_name = "Hauppauge",
.product_name = "HVR-850", .product_name = "HVR-950Q",
.ifnum = QUIRK_ANY_INTERFACE, .ifnum = QUIRK_ANY_INTERFACE,
.type = QUIRK_AUDIO_ALIGN_TRANSFER, .type = QUIRK_AUDIO_ALIGN_TRANSFER,
} }
......
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