From: Guennadi Liakhovetski Date: Thu, 4 Apr 2013 15:54:20 +0000 (-0300) Subject: [media] sh-mobile-ceu-camera: move interface activation and deactivation to clock... X-Git-Tag: v3.11-rc1~17^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ff6a6e8fb6915e68b93ff169b1eb66c0ba15d56;p=pandora-kernel.git [media] sh-mobile-ceu-camera: move interface activation and deactivation to clock callbacks When adding and removing a client, the sh-mobile-ceu-camera driver activates and, respectively, deactivates its camera interface and, if necessary, the CSI2 controller. Only handling of the CSI2 interface is client-specific and is only needed, when a data-exchange with the client is taking place. Move the rest to .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski Acked-by: Hans Verkuil Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed