From: Laurent Pinchart Date: Fri, 20 Jul 2012 13:19:50 +0000 (-0300) Subject: [media] soc-camera: Add and use soc_camera_power_[on|off]() helper functions X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~391 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec10bacd6bf08de39ebdba9e75060452cc313e0;p=pandora-kernel.git [media] soc-camera: Add and use soc_camera_power_[on|off]() helper functions Instead of forcing all soc-camera drivers to go through the mid-layer to handle power management, create soc_camera_power_[on|off]() functions that can be called from the subdev .s_power() operation to manage regulators and platform-specific power handling. This allows non soc-camera hosts to use soc-camera-aware clients. Signed-off-by: Laurent Pinchart [g.liakhovetski@gmx.de: fix compile breakage] Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed