media: ov5647: Rework s_stream() operation
commit 2f038c97 upstream. Rework the s_stream() operation to turn the sensor on and off at stream enable/disable time using the pm_runtime infrastructure. Protect the stream on/off from being called multiple times in sequence with a 'streaming' flag. (cherry picked from commit 2f038c97 ) Signed-off-by:Jacopo Mondi <jacopo@jmondi.org> Signed-off-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Acked-by:
Pratyush Yadav <p.yadav@ti.com>
Please register or sign in to comment