summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-10 12:18:16 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-10 12:18:16 -0300
commitce21406c4ed59ed6f4ed14d0309962bec8b728d6 (patch)
tree0604486a95b3b9657886607c50c7830fbf967e35 /v4l
parente84663cb04183962a0af5df76906275e370543ae (diff)
downloadmediapointer-dvb-s2-ce21406c4ed59ed6f4ed14d0309962bec8b728d6.tar.gz
mediapointer-dvb-s2-ce21406c4ed59ed6f4ed14d0309962bec8b728d6.tar.bz2
v4l: saa7134: fix race between opening and closing the device
From: Marcin Slusarz <marcin.slusarz@gmail.com> decrementing dev->empress_users should be done as last action of ts_release, because it sleeps and write access to dev->empress_started is not protected in any way (additionally closing thread could mute audio after opening thread unmuted it) Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: video4linux-list@redhat.com Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
0 files changed, 0 insertions, 0 deletions