diff options
author | Daniel Mack <daniel@zonque.org> | 2016-08-22 08:53:37 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-08-22 11:39:56 +0200 |
commit | ca0dd2736a05d1df94c8657b4865f9d6c6637085 (patch) | |
tree | 8692a34c087448112b450e241d1ccb41934b46a5 /sound/usb/quirks.c | |
parent | ALSA: usb: move udh01_fb_quirk setting to quirks.c (diff) | |
download | linux-ca0dd2736a05d1df94c8657b4865f9d6c6637085.tar.xz linux-ca0dd2736a05d1df94c8657b4865f9d6c6637085.zip |
ALSA: usb: use TEAC UD-H01 quirk for more devices
The quirk seems to be necessary not only for TEAC UD-H01 devices, but to
more that are based on the Tenor 8802TL chipset. Devices built by T+A
are affected too, and they apparently all use the same USB PID:PID.
Extend the quirky handling for that device as well, and rename the
quirks flag.
Reported-and-tested-by: Thomas Gresens <T.Gresens@intershop.de>
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/usb/quirks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 299813f30630..d47d9275874c 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1218,9 +1218,10 @@ void snd_usb_endpoint_start_quirk(struct snd_usb_endpoint *ep) ep->skip_packets = 16; /* Work around devices that report unreasonable feedback data */ - if (ep->chip->usb_id == USB_ID(0x0644, 0x8038) /* TEAC UD-H01 */ && + if ((ep->chip->usb_id == USB_ID(0x0644, 0x8038) || /* TEAC UD-H01 */ + ep->chip->usb_id == USB_ID(0x1852, 0x5034)) && /* T+A Dac8 */ ep->syncmaxsize == 4) - ep->udh01_fb_quirk = 1; + ep->tenor_fb_quirk = 1; } void snd_usb_set_interface_quirk(struct usb_device *dev) |