projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b289c
)
MLK-20595-1: camera: fix camera hang issue after resume
author
Guoniu.Zhou
<guoniu.zhou@nxp.com>
Fri, 14 Dec 2018 10:08:25 +0000
(18:08 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
The reset pin of ov5640 will power down when system suspend and
it will lead to reset ov5640, so driver need to reinitialize the
sensor before streaming
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/media/platform/imx8/ov5640_v3.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/imx8/ov5640_v3.c
b/drivers/media/platform/imx8/ov5640_v3.c
index
03c15f4
..
45d2579
100644
(file)
--- a/
drivers/media/platform/imx8/ov5640_v3.c
+++ b/
drivers/media/platform/imx8/ov5640_v3.c
@@
-1406,6
+1406,7
@@
static int ov5640_set_fmt(struct v4l2_subdev *sd,
if (format->which == V4L2_SUBDEV_FORMAT_TRY)
return 0;
+ init_device();
ret = ov5640_change_mode(sensor);
sensor->fmt = fmt;