diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-03-23 16:19:50 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-05-15 18:07:56 +0200 |
commit | c9e44b5354000386ef1324d200bf99b597756594 (patch) | |
tree | b9bd43ba24093b79284acee5b4046cf6f82e740d /mm/backing-dev.c | |
parent | usb: gadget: uvc: Set the V4L2 buffer field to V4L2_FIELD_NONE (diff) | |
download | linux-c9e44b5354000386ef1324d200bf99b597756594.tar.xz linux-c9e44b5354000386ef1324d200bf99b597756594.zip |
usb: gadget: uvc: Set the vb2 queue timestamp flags
The vb2 queue timestamp_flags field must be set by drivers, as enforced
by a WARN_ON in vb2_queue_init. The UVC gadget driver failed to do so.
This resulted in the following warning.
[ 2.104371] g_webcam gadget: uvc_function_bind
[ 2.105567] ------------[ cut here ]------------
[ 2.105567] ------------[ cut here ]------------
[ 2.106779] WARNING: CPU: 0 PID: 1 at drivers/media/v4l2-core/videobuf2-core.c:2207 vb2_queue_init+0xa3/0x113()
Fix it.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions