[alsa-devel] [PATCH 2/5] ALSA: snd-usb: implement new endpoint streaming model

Daniel Mack zonque at gmail.com
Wed Dec 21 17:34:09 CET 2011

On 12/21/2011 05:16 PM, Aurélien Leblond wrote:
> Hello Daniel,
> I'm now running this new patch with the kernel git 3.2 rc6.
> I do get sound through Alsa and Pulse Audio, but Jackd2 crashes at start.
> The same version of jack works on 3.2 rc4 with your previous version
> of the patch.
> Let me know if there is any other info that I should provide you
> outside the dmesg trace below.
> In dmesg, I get the following:
> [   92.185624] BUG: unable to handle kernel NULL pointer dereference
> at 0000000000000008
> [   92.185637] IP: [<ffffffffa05c9768>]
> snd_usb_endpoint_activate+0x18/0x90 [snd_usb_audio]

Can you do a quick fix and add the following two lines right at the
beginning of snd_usb_endpoint_activate() in sound/usb/endpoint.c:

        if (!ep)
                return 0;

? I'll fix this in a nicer way, but that should work.


More information about the Alsa-devel mailing list