summaryrefslogtreecommitdiff
path: root/drivers/media/video/em28xx/em28xx-audio.c
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-06-10 22:18:16 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-26 22:58:46 +0400
commit913f5fc209247b607b1994a710315966f4f9d358 (patch)
treede8ae1f4b58c61a293b91072d9a3ccbbda1d7637 /drivers/media/video/em28xx/em28xx-audio.c
parenta14fe9605bfdfe360b97acc9ef912779eb860507 (diff)
downloadlinux-913f5fc209247b607b1994a710315966f4f9d358.tar.xz
V4L/DVB (8022): saa7134: fix race between opening and closing the device
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-audio.c')
0 files changed, 0 insertions, 0 deletions