V4L/DVB (7319): pvrusb2: Close potential race condition during initialization
authorMike Isely <isely@pobox.com>
Tue, 22 Apr 2008 17:45:44 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:48 +0000 (14:07 -0300)
commitc4a8828ddbf5fb445d2679ab006d5743540fc41a
tree2b17fa77218b812f164f1d897dfe1015d98d2510
parentee9ca4b24f03b4da04cae1a24ea445ceb8a1f3d2
V4L/DVB (7319): pvrusb2: Close potential race condition during initialization

There is a callback that is issued to into pvr2_context from pvr2_hdw
after initialization is done.  There was a probability that this
callback could get missed.  Fixed.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-context.c
drivers/media/video/pvrusb2/pvrusb2-hdw.c
drivers/media/video/pvrusb2/pvrusb2-hdw.h