V4L/DVB: cx18: Add missing serialization locks to cx18-dvb
authorAndy Walls <awalls@radix.net>
Sat, 30 Jan 2010 19:20:27 +0000 (16:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:50 +0000 (15:10 -0300)
commit6adb21c8719feef3b1629f5a9b5535e914f897ed
tree95e81f2e4b663c61609b449a277e06c65ebcfdba
parentb3b6dc620626eda13d7c1330cf3733862fe29420
V4L/DVB: cx18: Add missing serialization locks to cx18-dvb

Operations that manipulates the state of the encoder or global instance flags
and variables should be serialized.  This adds some serialization locks that
have been missing from cx18-dvb.  Since the DVB part of the CX23418 doesn't
affect the encoder, no one would likely have ever noticed a race in changing
card instance variables.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-dvb.c