]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1038737753a80a7f6bb28411b0e59be1b45a3fde
tree3d51aca319261e9a19d777670ff06f933ac6c50c
parente26d74e1c911d21878370446b82551a93a76dd8a
[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