Re: [PATCH v2 08/10] media: ov772x: handle nested s_power() calls

2018-04-19 Thread Akinobu Mita
2018-04-18 21:41 GMT+09:00 jacopo mondi : > Hi Akinobu, > > On Mon, Apr 16, 2018 at 11:51:49AM +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 th

Re: [PATCH v2 08/10] media: ov772x: handle nested s_power() calls

2018-04-18 Thread jacopo mondi
Hi Akinobu, On Mon, Apr 16, 2018 at 11:51:49AM +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 power off. What do

[PATCH v2 08/10] media: ov772x: handle nested s_power() calls

2018-04-15 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 modi