[media] V4L: add CCF support to the v4l2_clk API
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Sun, 1 Feb 2015 11:12:33 +0000 (08:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:33:42 +0000 (18:33 -0300)
commit4f528afcfbcac540c8690b41307cac5c22088ff1
tree0af5441212499b618ae9e320c114938dc6e8e90b
parenta37462b919e1368ea3cf4bb0cbdb00ca8e76959c
[media] V4L: add CCF support to the v4l2_clk API

V4L2 clocks, e.g. used by camera sensors for their master clock, do not
have to be supplied by a different V4L2 driver, they can also be
supplied by an independent source. In this case the standart kernel
clock API should be used to handle such clocks. This patch adds support
for such cases.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-clk.c
include/media/v4l2-clk.h