V4L/DVB: cx18: Add missing serialization locking to cx18-alsa
authorAndy Walls <awalls@radix.net>
Sat, 30 Jan 2010 18:28:22 +0000 (15:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:50 +0000 (15:10 -0300)
commitb4729dcbba5431bf636d3d6615709383ad5e0d34
tree72834c5d6fb15bb41d633f273d920a36e535cfde
parent83695009a439b86c520f9001c80cc5a042c2d940
V4L/DVB: cx18: Add missing serialization locking to cx18-alsa

File operations that manipulate the state of the encoder, or video or audio
subdevices or some of the stream flags need to be serialized.  Add the
serilization locks to cx18-alsa in a manner consistent with the locking for
the v4l2 file operations.

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