[media] pxa-camera: move interface activation and deactivation to clock callbacks
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 4 Apr 2013 11:56:00 +0000 (08:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 18:36:21 +0000 (15:36 -0300)
commit39b553dbb4a75debf814a261e58f09347eef337f
tree70687337535bf04ebf650fbe4227f28ee89d0650
parenteb569cf9db804e6ba34b3a1812415e59d5e43d1a
[media] pxa-camera: move interface activation and deactivation to clock callbacks

When adding and removing a client, the pxa-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/pxa_camera.c