Re: [PATCH] em28xx: fix locks during dvb init sequence - was: Re: V4L-DVB drivers and BKL

2010-04-07 Thread Mauro Carvalho Chehab
Devin Heitmueller wrote: > On Wed, Apr 7, 2010 at 4:07 PM, Mauro Carvalho Chehab > At first glance, this looks really promising. I will have to look at > this in more detail when I have access to the source code (I'm at the > office right now). Ok. Please test it when you have some time, for me

Re: [PATCH] em28xx: fix locks during dvb init sequence - was: Re: V4L-DVB drivers and BKL

2010-04-07 Thread Devin Heitmueller
On Wed, Apr 7, 2010 at 4:07 PM, Mauro Carvalho Chehab wrote: > Devin Heitmueller wrote: >> On Thu, Apr 1, 2010 at 11:02 AM, Mauro Carvalho Chehab >> wrote: >>> I remember I had to do it on em28xx: >>> >>> This is the init code for it: >>>        ... >>>        mutex_init(&dev->lock); >>>        m

[PATCH] em28xx: fix locks during dvb init sequence - was: Re: V4L-DVB drivers and BKL

2010-04-07 Thread Mauro Carvalho Chehab
Devin Heitmueller wrote: > On Thu, Apr 1, 2010 at 11:02 AM, Mauro Carvalho Chehab > wrote: >> I remember I had to do it on em28xx: >> >> This is the init code for it: >>... >>mutex_init(&dev->lock); >>mutex_lock(&dev->lock); >>em28xx_init_dev(&dev, udev, interface,