Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204

Add quirk to ensure a sync endpoint is properly configured.
This patch is a fix for same symptoms on Behringer UFX1204 as patch
from Albertto Aquirre on Dec 8 2016 for Axe-Fx II.

Signed-off-by: Lassi Ylikojola <lassi.ylikojola@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Lassi Ylikojola and committed by
Takashi Iwai
5e35dc03 1f8ade92

+9
+9
sound/usb/pcm.c
··· 357 357 358 358 alts = &iface->altsetting[1]; 359 359 goto add_sync_ep; 360 + case USB_ID(0x1397, 0x0002): 361 + ep = 0x81; 362 + iface = usb_ifnum_to_if(dev, 1); 363 + 364 + if (!iface || iface->num_altsetting == 0) 365 + return -EINVAL; 366 + 367 + alts = &iface->altsetting[1]; 368 + goto add_sync_ep; 360 369 361 370 } 362 371 if (attr == USB_ENDPOINT_SYNC_ASYNC &&