Haven't fully understood the usage of wake_event_interruptible, now I have read
its description. Sorry for the lame patch.
Please find a fixed version below.
Patch allows for blocking or nonblocking io on the ngene sec0 device.
It also enforces one reader and one writer at a time.
Signed-off-b
g.
>
> Thanks!
> Mauro
The patch is not correct. See my comments below.
> Mensagem original
> Date: Thu, 12 May 2011 15:47:09 +0200
> From: Issa Gorissen
> To: linux-media@vger.kernel.org
> Subject: [PATCH] ngene: blocking and nonblocking io for sec0
>
bject: [PATCH] ngene: blocking and nonblocking io for sec0
Patch allows for blocking or nonblocking io on the ngene sec0 device.
It also enforces one reader and one writer at a time.
Signed-off-by: Issa Gorissen
--
--- a/linux/drivers/media/dvb/ngene/ngene-dvb.c 2011-05-10 19:11:21.0
Patch allows for blocking or nonblocking io on the ngene sec0 device.
It also enforces one reader and one writer at a time.
Signed-off-by: Issa Gorissen
--
--- a/linux/drivers/media/dvb/ngene/ngene-dvb.c 2011-05-10 19:11:21.0
+0200
+++ b/linux/drivers/media/dvb/ngene/ngene-dvb.c 2011-05