upstream: [media] soc-camera: add host clock callbacks to start and stop the master...
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 4 Apr 2013 11:51:36 +0000 (08:51 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:41 +0000 (11:48 +0900)
commit1621cb5ba54dfff6bf6ec2d6adc2c73c4c83caa9
tree1cc142ed67fbc2071b1c75dc11c94f6b3a376797
parentb7762714244c34d0d6db38c474a2b49a284d9437
upstream: [media] soc-camera: add host clock callbacks to start and stop the master clock

Currently soc-camera uses a single camera host callback to activate the
interface master clock and to configure the interface for a specific
client. However, during probing we might not have the information about
a client, we just need to activate the clock. Add new camera host driver
callbacks to only start and stop the clock without and client-specific
configuration.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/soc_camera.c
include/media/soc_camera.h