Re: [PATCH v2 2/2] media: i2c: imx219: Balance runtime PM use-count

2021-03-14 Thread Laurent Pinchart
Hi Prabhakar, Thank you for the patch. On Thu, Mar 11, 2021 at 09:52:05AM +, Lad Prabhakar wrote: > Move incrementing/decrementing runtime PM count to > imx219_start_streaming()/imx219_stop_streaming() functions respectively. > > This fixes an issue of unbalanced runtime PM count in resume

[PATCH v2 2/2] media: i2c: imx219: Balance runtime PM use-count

2021-03-11 Thread Lad Prabhakar
Move incrementing/decrementing runtime PM count to imx219_start_streaming()/imx219_stop_streaming() functions respectively. This fixes an issue of unbalanced runtime PM count in resume callback error path where streaming is stopped and runtime PM count is left unbalanced. Fixes: 1283b3b8f82b9