projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2752baa
)
camera: fix struct v4l2_mbus_framefmt have not initiation
author
ddl
<ddl@rock-chips.com>
Thu, 15 Nov 2012 03:51:45 +0000
(11:51 +0800)
committer
ddl
<ddl@rock-chips.com>
Thu, 15 Nov 2012 03:52:06 +0000
(11:52 +0800)
drivers/media/video/rk30_camera_oneframe.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/rk30_camera_oneframe.c
b/drivers/media/video/rk30_camera_oneframe.c
index d8ad2d80d4975f849c453f5465905ca1708143ee..cd9f1b503e663c4fbe5a83adc10f989cdd35f4c1 100755
(executable)
--- a/
drivers/media/video/rk30_camera_oneframe.c
+++ b/
drivers/media/video/rk30_camera_oneframe.c
@@
-2202,6
+2202,7
@@
static int rk_camera_try_fmt(struct soc_camera_device *icd,
return pix->bytesperline;
/* limit to sensor capabilities */
+ memset(&mf,0x00,sizeof(struct v4l2_mbus_framefmt));
mf.width = pix->width;
mf.height = pix->height;
mf.field = pix->field;