Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2b95aca1 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Vignesh Raghavendra
Browse files

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: default avatarJacopo Mondi <jacopo@jmondi.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Acked-by: default avatarPratyush Yadav <p.yadav@ti.com>
parent 18a1bcd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment