[media] m5mols: Use proper sensor mode for the controls
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 9 Apr 2012 16:52:06 +0000 (13:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 17:32:36 +0000 (14:32 -0300)
commit0373e97496793fd91cd7fb1a26840ee43d70f77e
tree09038399e27e1d5cd20f148ef045d1bcb4a54944
parent3c5da0baaada8e8c7176a3e310dfdb4362f74d80
[media] m5mols: Use proper sensor mode for the controls

The parameters corresponding to the V4L controls can be reconfigured
only in associated M-5MOLS operation mode. Use struct v4l2_ctrl
priv field to assign the working mode to the controls which can be
modified only in certain conditions.

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/m5mols/m5mols.h
drivers/media/video/m5mols/m5mols_controls.c