]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] s5p-fimc: Add missing FIMC-LITE file operations locking
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 4 Jun 2012 16:15:56 +0000 (13:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 7 Jul 2012 03:12:39 +0000 (00:12 -0300)
commit4e39da01027eb73556c1ad416945e37f2771464e
treedac00dcbd0cde87ab7567fc18f3ccc09976bd92c
parent5aedc1094041335598c6aa73c5cf882f30886cd7
[media] s5p-fimc: Add missing FIMC-LITE file operations locking

commit 5126f2590bee412e3053de851cb07f531e4be36a
"v4l2-dev: add flag to have the core lock all file operations"
introduced an additional bit flag (V4L2_FL_LOCK_ALL_FOPS) that
should be set by drivers that use the v4l2 core lock for all file
operations. Since this driver has been merged at the same time as
the core changes it doesn't set this flags and thus its all file
operations except IOCTL are not properly serialized. Fix this by
adding file ops locking in the driver.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-lite.c