[media] mx1-camera: move interface activation and deactivation to clock callbacks
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 4 Apr 2013 15:06:32 +0000 (12:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 18:45:20 +0000 (15:45 -0300)
commitd71042c1fa1c3b32bfd55151eef6b2e104301a11
tree0a9e3ba173a78d4c2ac3d11577fdbabe7e28d3b4
parent6b417c897000515e308ff45687319f8ede1ccdd2
[media] mx1-camera: move interface activation and deactivation to clock callbacks

When adding and removing a client, the mx1-camera driver only activates
and deactivates its camera interface respectively, which doesn't include
any client-specific actions. Move this functionality into .clock_start()
and .clock_stop() callbacks.

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/mx1_camera.c