Re: State of highspeed usb2 audio?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 13.04.2012 00:06, Daniel Mack wrote:

> Ah ok. Saw the patch and added a new one that implements the quirk for
> newer kernels. I also attached the patch here.
> Once you managed to build the kernel (there are plenty of good HOWTOs
> out there), let me know the result. You can apply the other patch
> additionally (from the gist location I pointed you to), but that should
> be optional.

Eh, sorry. My last patch was bogus. Instead, you should try the one
attached to this mail, but you need to apply the streaming rework series
*before* that:

Let me know if that works.

diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index 5cfad6d..f692e2f 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -474,6 +474,10 @@ struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip,
 			ep->syncinterval = 3;
 		ep->syncmaxsize = le16_to_cpu(get_endpoint(alts, 1)->wMaxPacketSize);
+		if (chip->usb_id == USB_ID(0x0926, 0x0202) &&
+		    snd_usb_get_speed(chip->dev) == USB_SPEED_HIGH)
+			ep->syncmaxsize = 4;
 	list_add_tail(&ep->list, &chip->ep_list);
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
Alsa-user mailing list

[ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Free Dating Site]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux