From: Marcin Slusarz Date: Tue, 10 Jun 2008 18:18:16 +0000 (-0300) Subject: V4L/DVB (8022): saa7134: fix race between opening and closing the device X-Git-Tag: v2.6.26-rc9~91^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913f5fc209247b607b1994a710315966f4f9d358;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed