Re: [PATCH v3 07/11] media: ov772x: handle nested s_power() calls

2018-04-27 Thread Akinobu Mita
2018-04-23 17:35 GMT+09:00 jacopo mondi : > Hi Akinobu, >thanks for v3 > > On Mon, Apr 23, 2018 at 12:56:13AM +0900, Akinobu Mita wrote: >> Depending on the v4l2 driver, calling s_power() could be nested. So the >> actual transitions between power saving mode and normal

Re: [PATCH v3 07/11] media: ov772x: handle nested s_power() calls

2018-04-23 Thread jacopo mondi
Hi Akinobu, thanks for v3 On Mon, Apr 23, 2018 at 12:56:13AM +0900, Akinobu Mita wrote: > Depending on the v4l2 driver, calling s_power() could be nested. So the > actual transitions between power saving mode and normal operation mode > should only happen at the first power on and the last

[PATCH v3 07/11] media: ov772x: handle nested s_power() calls

2018-04-22 Thread Akinobu Mita
Depending on the v4l2 driver, calling s_power() could be nested. So the actual transitions between power saving mode and normal operation mode should only happen at the first power on and the last power off. This adds an s_power() nesting counter and updates the power state if the counter is