media: video: tegra: soc2030: Prevent concurrent ioctls from multiple threads.
authorAndrei Warkentin <andreiw@motorola.com>
Fri, 17 Dec 2010 22:14:22 +0000 (16:14 -0600)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 17 Dec 2010 23:08:10 +0000 (15:08 -0800)
commit4d44566b0a3a1f2d54cd5e75ffd3eb707dcfe99e
tree01290a205f56e3504a11afdd9158f3cae2ece801
parentbc9252fd0cee218e83776081fe06e593112a9eb2
media: video: tegra: soc2030: Prevent concurrent ioctls from multiple threads.

Protects with a mutex. Also cleans up the error handling a bit.

Change-Id: Ib7b04890d86dd3890033b06e2ea7201c20178909
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
drivers/media/video/tegra/soc2030.c