From: Laurent Pinchart Date: Wed, 18 Jul 2012 13:54:04 +0000 (-0300) Subject: [media] soc-camera: Push probe-time power management to drivers X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~390 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbc6d52e61a8a9c19fcc859c4acab89cb8cd4e5;p=pandora-kernel.git [media] soc-camera: Push probe-time power management to drivers Several client drivers access the hardware at probe time, for instance to read the probe chip ID. Such chips need to be powered up when being probed. soc-camera handles this by powering chips up in the soc-camera probe implementation. However, this will break with non soc-camera hosts that don't perform the same operations. Fix the problem by pushing the power up/down from the soc-camera core down to individual drivers on a needs basis. Signed-off-by: Laurent Pinchart Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed