[media] hdpvr: fix race conditon during start of streaming
authorJanne Grunau <j@jannau.net>
Thu, 2 Feb 2012 16:35:21 +0000 (13:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Feb 2012 18:45:32 +0000 (16:45 -0200)
commitafa159538af61f1a65d48927f4e949fe514fb4fc
tree3d51aca319261e9a19d777670ff06f933ac6c50c
parent63ae37ea5186a6890a8968611180dc61118f719d
[media] hdpvr: fix race conditon during start of streaming

status has to be set to STREAMING before the streaming worker is
queued. hdpvr_transmit_buffers() will exit immediately otherwise.

Reported-by: Joerg Desch <vvd.joede@googlemail.com>
CC: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/hdpvr/hdpvr-video.c