]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8769): cx18: Simplify queue flush logic to prevent oops in cx18_flush_queues()
authorAndy Walls <awalls@radix.net>
Wed, 3 Sep 2008 20:11:54 +0000 (17:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:37:14 +0000 (18:37 -0300)
commit6c9de52884aeafb05a935467c3a2c05a2d445ab7
tree5afe1394ac754e97b3942cdbb74044d90a2c56d7
parentc6eb8eafdba4ad18b4520a0d28a38bc9e61883ea
V4L/DVB (8769): cx18: Simplify queue flush logic to prevent oops in cx18_flush_queues()

cx18: Simplify queue flush logic to prevent oops in cx18_flush_queues().
If accounting of a queue is in error, logic borrowed from ivtv will cause
an oops when flushing the queues for a stream.  This change greatly
simplifies the queue flush logic, and sets the queue back to sane
defaults on a flush.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-queue.c