Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30

David Brownell
2009-06-23T07:22:58+00:00

On Monday 22 June 2009, Marek Szyprowski wrote:
> 
> > Like, oh, changing a spinlock to a mutex.   You might change the
> > low-latency setting and review how that's now supposed to behave.
> 
> In in gs-open() function in drivers/usb/gadget/u-serial.c, after the 
> line 780 I've added:
> 
> tty->low-latency = 1;

That's already how it's set.  Try instead *REMOVING* the line
which sets that flag.


> This helped a bit, but after a few serial transfers I got the same 
> bug again.

Of course.  You didn't change anything.



Loading


$ This page is proudly powered by www.pubbs.net, you can see more at kernel archive | Partners: ListWare Global Manufacturers