V4L/DVB (11231): hdpvr: locking fixes
authorJanne Grunau <j@jannau.net>
Thu, 26 Mar 2009 23:56:06 +0000 (20:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:42 +0000 (12:43 -0300)
commit48f98f7557d35d360470bf6d9fd7b00d04fba828
tree8231070b0a8fce217cc061ac50979afd1ef72294
parentd2ff3ec81628cbf9470c496b3d0c0780165643f5
V4L/DVB (11231): hdpvr: locking fixes

unlock io_mutex in hdpvr_stop_streaming hdpvr_disconnect to allow the
streaming worker to stop before we flush the workqueue.
do not return to user space with mutex held in vidioc_encoder_cmd with
an unknown encoder command.

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/hdpvr/hdpvr-core.c
drivers/media/video/hdpvr/hdpvr-video.c
This page took 0.02485 seconds and 5 git commands to generate.