Re: [PATCH v2] media: pxa_camera: avoid duplicate s_power calls

2018-05-29 Thread Akinobu Mita
2018-05-29 15:17 GMT+09:00 Hans Verkuil : > Hi Akinobu, > > On 05/27/2018 05:30 PM, Akinobu Mita wrote: >> The open() operation for the pxa_camera driver always calls s_power() >> operation to put its subdevice sensor in normal operation mode, and the >> release() operation always call s_power()

Re: [PATCH v2] media: pxa_camera: avoid duplicate s_power calls

2018-05-29 Thread Hans Verkuil
Hi Akinobu, On 05/27/2018 05:30 PM, Akinobu Mita wrote: > The open() operation for the pxa_camera driver always calls s_power() > operation to put its subdevice sensor in normal operation mode, and the > release() operation always call s_power() operation to put the subdevice > in power saving

Re: [PATCH v2] media: pxa_camera: avoid duplicate s_power calls

2018-05-28 Thread Sakari Ailus
On Mon, May 28, 2018 at 12:30:11AM +0900, Akinobu Mita wrote: > The open() operation for the pxa_camera driver always calls s_power() > operation to put its subdevice sensor in normal operation mode, and the > release() operation always call s_power() operation to put the subdevice > in power

[PATCH v2] media: pxa_camera: avoid duplicate s_power calls

2018-05-27 Thread Akinobu Mita
The open() operation for the pxa_camera driver always calls s_power() operation to put its subdevice sensor in normal operation mode, and the release() operation always call s_power() operation to put the subdevice in power saving mode. This requires the subdevice sensor driver to keep track of