[PATCH v2 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-05 Thread Laurent Pinchart
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 s

Re: [PATCH v2 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-15 Thread David Cohen
Hi Laurent, Few more comments below :) On 07/05/2012 11:38 PM, Laurent Pinchart wrote: 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

Re: [PATCH v2 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-15 Thread David Cohen
On 07/16/2012 02:17 AM, David Cohen wrote: Hi Laurent, Few more comments below :) On 07/05/2012 11:38 PM, Laurent Pinchart wrote: 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 fr

Re: [PATCH v2 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-16 Thread Laurent Pinchart
Hi David, Thanks for the review. On Monday 16 July 2012 02:17:43 David Cohen wrote: > On 07/05/2012 11:38 PM, Laurent Pinchart wrote: > > 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

Re: [PATCH v2 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-17 Thread David Cohen
Hi Laurent, On 07/17/2012 04:24 AM, Laurent Pinchart wrote: Hi David, Thanks for the review. You're welcome. On Monday 16 July 2012 02:17:43 David Cohen wrote: On 07/05/2012 11:38 PM, Laurent Pinchart wrote: Instead of forcing all soc-camera drivers to go through the mid-layer to handle