V4L/DVB (11619): cx18: Simplify the work handler for outgoing mailbox commands
commit21a278b85d3c6b8064af0c03aec3205e28aad3b7
authorAndy Walls <awalls@radix.net>
Wed, 15 Apr 2009 23:45:10 +0000 (15 20:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:44 +0000 (16 18:20 -0300)
treeefa0ee9cdfc303b03faf5b080b7f5721cf13c765
parent40c5520f55924ba87090d0d93222baad74202559
V4L/DVB (11619): cx18: Simplify the work handler for outgoing mailbox commands

Simplify the way outgoing work handler gets scheduled to send empty buffers
back to the firmware for use.  Also reduced the memory required for scheduling
this outgoing work, by using a single, per stream work object.

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