]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: Update to the control handler lock changes
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 25 May 2012 10:04:01 +0000 (07:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Jun 2012 12:22:10 +0000 (09:22 -0300)
commit2ad943fe7792915b8b7b1a133acbde8263608c75
tree5d0c3eceb15f58865900ea63df32a4ba708de84b
parentef8e434cb53b58e8726eb1879893badca4aef683
[media] s5p-fimc: Update to the control handler lock changes

Commit b2ddbfe28c5fcbb4dcece44fa3cf3a11c281b7d4
"v4l: Allow changing control handler lock" changed
the lock field of struct v4l2_ctrl_handler to a pointer
and this driver wasn't updated properly. This patch fixes
following warning:

drivers/media/video/s5p-fimc/fimc-core.c: In function ‘fimc_ctrls_activate’:
drivers/media/video/s5p-fimc/fimc-core.c:644: warning: passing argument 1 of ‘mutex_lock’ from incompatible pointer type
include/linux/mutex.h:152: note: expected ‘struct mutex *’ but argument is of type ‘struct mutex **’
drivers/media/video/s5p-fimc/fimc-core.c:663: warning: passing argument 1 of ‘mutex_unlock’ from incompatible pointer type
include/linux/mutex.h:169: note: expected ‘struct mutex *’ but argument is of type ‘struct mutex **’

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-core.c