OSDN Git Service

[media] v4l: omap4iss: Don't use v4l2_g_ext_ctrls() internally
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 3 Nov 2013 23:13:32 +0000 (20:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 3 Dec 2013 19:45:02 +0000 (17:45 -0200)
commitea72717e961d1166882370a87876bfeacc967eb0
tree9902460b33c3b83d61ce0e853ae724ed4af06878
parentd632dfefd36f0794dd69a41f86bfff2cc0e5af73
[media] v4l: omap4iss: Don't use v4l2_g_ext_ctrls() internally

Instead of using the extended control API internally to get the sensor
pixel rate, use the dedicated in-kernel APIs (find the control with
v4l2_ctrl_find() and get its value with v4l2_ctrl_g_ctrl_int64()).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/omap4iss/iss.c