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

2018-05-24 Thread Sakari Ailus
On Fri, May 25, 2018 at 01:16:32AM +0900, Akinobu Mita wrote: > 2018-05-22 22:59 GMT+09:00 Sakari Ailus : > > Dear Mita-san, > > > > On Mon, May 21, 2018 at 12:40:38AM +0900, Akinobu Mita wrote: > >> The open() operation for the pxa_camera driver always calls

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

2018-05-24 Thread Akinobu Mita
2018-05-22 22:59 GMT+09:00 Sakari Ailus : > Dear Mita-san, > > On Mon, May 21, 2018 at 12:40:38AM +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

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

2018-05-22 Thread Sakari Ailus
Dear Mita-san, On Mon, May 21, 2018 at 12:40:38AM +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

[PATCH] media: pxa_camera: avoid duplicate s_power calls

2018-05-20 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