]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: ov5670: Fix not streaming issue after resume
authorChiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Fri, 1 Sep 2017 22:08:31 +0000 (19:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 20:09:47 +0000 (17:09 -0300)
commit0ae12b5556da2d8b6bf2a374c47f7cf8f82595ed
treef828ca7241f3455d9e2116816d79379cb3de79ed
parent09c311e8ac90a4fc5e1d0dfc59cef617fd6e1573
[media] media: ov5670: Fix not streaming issue after resume

Previously, the sensor was not streaming after resume from suspend,
i.e. on S0->S3->S0 transition. Due to this, camera app preview appeared
as stuck.

Now, handle streaming state correctly in case of suspend-resume.

Signed-off-by: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ov5670.c