]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbff3e77713741af9a7acab57a32501f17506c474
treef5424f63daca454c4c02d2d267f3d080c262d04b
parentb482cf0381dffad46f1f716ea738ce3d7c45e24d
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