V4L/DVB (11617): cx18: Set up to wait for a one-shot response before sending a firmwa...
authorAndy Walls <awalls@radix.net>
Tue, 14 Apr 2009 01:53:09 +0000 (22:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:44 +0000 (18:20 -0300)
commit5f0a3cfcfd315d87de8f80af49b114daf7137823
treef5424f63daca454c4c02d2d267f3d080c262d04b
parent87116159517ecf6b9cf62a136f2935a63833c485
V4L/DVB (11617): cx18: Set up to wait for a one-shot response before sending a firmware cmd

When sending an outgoing firmware command, prepare to wait before we raise the
interrupt, so we don't miss the wake_up() on the acknowledgment.  When waiting
for the acknowledgement, there is no need to loop around schedule(), as there
will only be one interrupt, and hence one wake_up(), issued.

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