]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit3eefbc69bbdc7bca8c3751e525902d779ca1cdd3
treef828ca7241f3455d9e2116816d79379cb3de79ed
parent1a58fbf5133c0c016decfa85f20b97a69672e315
[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