V4L/DVB (4090): Fix cinergyt2_poll() to allow non-blocking IO on frontend
authorDyks, Axel (XL) <xl@xlsigned.net>
Sun, 11 Jun 2006 20:14:35 +0000 (17:14 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:05:07 +0000 (02:05 -0300)
commit774dd5d9bdcbfe2efb3425e8a0be0b4d01a65c26
tree61d89fd4b4e952d9d5aa9f62a24371ff78b9641c
parentbe4f451975c6514a9e12451c2ae2ce91d5673b06
V4L/DVB (4090): Fix cinergyt2_poll() to allow non-blocking IO on frontend

cinergyt2_poll()" shouldn't return (POLLIN | POLLRDNORM | POLLPRI) when
there are no pending events. User space programs that do non-bocking IO
using "select()" and/or "poll()" would otherwise produce high system load.
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Axel Dyks <xl@xlsigned.net>
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/cinergyT2/cinergyT2.c