[ 23.525232] adv7180 0-0021: chip found @ 0x21 (OMAP I2C adapter) [ 23.544910] vip1-s1: vip_async_bound [ 23.544922] vip1-s1: Port B: Using subdev adv7180 0-0021 for capture [ 23.551305] vip1-s1: subdev adv7180 0-0021: code: 2006 idx: 0 [ 23.551314] vip1-s1: matched fourcc: NV12: code: 2006 idx: 0 [ 23.551322] vip1-s1: matched fourcc: UYVY: code: 2006 idx: 1 [ 23.551330] vip1-s1: matched fourcc: YUYV: code: 2006 idx: 2 [ 23.551337] vip1-s1: matched fourcc: VYUY: code: 2006 idx: 3 [ 23.551343] vip1-s1: matched fourcc: YVYU: code: 2006 idx: 4 [ 23.551350] vip1-s1: matched fourcc: RGB3: code: 2006 idx: 5 [ 23.551357] vip1-s1: matched fourcc: RGB4: code: 2006 idx: 6 [ 23.551364] vip1-s1: matched fourcc: BGR3: code: 2006 idx: 7 [ 23.551370] vip1-s1: matched fourcc: BGR4: code: 2006 idx: 8 [ 23.552737] vip1-s1: device registered as video0 [ 23.557881] vip1-s1: vip_async_complete [ 23.564302] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 23.566494] vip1-s1: vip_open [ 23.566509] vip1-s1: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 720x480 [ 23.566519] vip1-s1: calc_format_size: fourcc:NV12 size: 720x480 bpl:720 img_size:518400 [ 23.566523] vip1-s1: init_stream fourcc:NV12 size: 720x480 bpl:720 img_size:518400 [ 23.566526] vip1-s1: init_stream vpdma data type: 0x02 [ 23.566531] vip1-s1: vip_init_stream: stream instance 0xee59c000 [ 23.566638] vip1-s1: vip_release [ 23.566646] vip1-s1: vip_release_stream: stream instance 0xee59c000 [ 23.566650] vip1-s1: vip_release_port: port instance 0xeead5c10 [ 23.573209] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 23.580254] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517 [ 62.210007] vip1-s1: vip_open [ 62.210030] vip1-s1: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 720x480 [ 62.210044] vip1-s1: calc_format_size: fourcc:NV12 size: 720x480 bpl:720 img_size:518400 [ 62.210053] vip1-s1: init_stream fourcc:NV12 size: 720x480 bpl:720 img_size:518400 [ 62.210060] vip1-s1: init_stream vpdma data type: 0x02 [ 62.210069] vip1-s1: vip_init_stream: stream instance 0xee59c000 [ 62.210086] video0: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x00040454, capabilities=0x85200001, device_caps=0x05200001 [ 62.210115] video0: VIDIOC_CROPCAP: type=vid-cap, bounds wxh=720x480, x,y=0,0, defrect wxh=720x480, x,y=0,0, pixelaspect 1/1 [ 62.210142] vip1-s1: cropped (0,0)/720x480 of 720x480 [ 62.210148] video0: VIDIOC_S_CROP: type=vid-cap, wxh=720x480, x,y=0,0 [ 62.210172] vip1-s1: g_fmt fourcc:NV12 code: 2006 size: 720x480 bpl:720 img_size:518400 [ 62.210179] vip1-s1: g_fmt vpdma data type: 0x02 [ 62.210185] video0: VIDIOC_G_FMT: type=vid-cap, width=720, height=480, pixelformat=NV12, field=interlaced, bytesperline=720, sizeimage=518400, colorspace=1, flags=0x0 [ 62.210219] vip1-s1: get 4 buffer(s) of size 518400 each. [ 62.212019] vb2: __setup_offsets: buffer 0, plane 0 offset 0x00000000 [ 62.230638] vb2: __setup_offsets: buffer 1, plane 0 offset 0x0007f000 [ 62.237163] vb2: __setup_offsets: buffer 2, plane 0 offset 0x000fe000 [ 62.245339] vb2: __setup_offsets: buffer 3, plane 0 offset 0x0017d000 [ 62.251810] vb2: __vb2_queue_alloc: allocated 4 buffers, 1 plane(s) each [ 62.260211] video0: VIDIOC_REQBUFS: count=4, type=vid-cap, memory=mmap [ 62.260403] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x0, 0 [ 62.260433] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 62.260459] vb2: vb2_mmap: buffer 0, plane 0 successfully mapped [ 62.269672] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x7f00 [ 62.269703] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 62.269729] vb2: vb2_mmap: buffer 1, plane 0 successfully mapped [ 62.278177] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0xfe00 [ 62.278207] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 62.278229] vb2: vb2_mmap: buffer 2, plane 0 successfully mapped [ 62.286686] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=3, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x17d0 [ 62.286715] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 62.286737] vb2: vb2_mmap: buffer 3, plane 0 successfully mapped [ 62.292780] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded [ 62.298364] vb2: vb2_core_qbuf: qbuf of buffer 1 succeeded [ 62.304046] vb2: vb2_core_qbuf: qbuf of buffer 2 succeeded [ 62.309559] vb2: vb2_core_qbuf: qbuf of buffer 3 succeeded [ 62.315117] vip1-s1: vip_set_slice_path: [ 62.315128] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 70004000 [ 62.315136] vip1-s1: vip_set_slice_path: [ 62.315144] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): A0004000 [ 62.315154] vip1-s1: vip_set_slice_path: [ 62.315171] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 80004000 [ 62.315178] vip1-s1: vip_set_slice_path: [ 62.315185] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 40004000 [ 62.322573] vip1-s1: stream on failed in subdev [ 62.322583] vb2: vb2_start_streaming: driver refused to start streaming [ 62.330803] ------------[ cut here ]------------ [ 62.336275] WARNING: CPU: 0 PID: 952 at drivers/media/v4l2-core/videobuf2-core.c:1315 vb2_start_streaming+0xe0/0x15c() [ 62.347847] Modules linked in: adv7180 bc_example(O) rpmsg_proto xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 virtio_rpmsg_bus ah4 af_key xfrm_algo bluetooth pvrsrl [ 62.384457] CPU: 1 PID: 952 Comm: capure Tainted: G O 4.4.84-00031-g9bee036-dirty #210 [ 62.393541] Hardware name: Generic DRA74X (Flattened Device Tree) [ 62.399657] Backtrace: [ 62.402133] [] (dump_backtrace) from [] (show_stack+0x18/0x1c) [ 62.409733] r7:c04ac55c r6:600c0013 r5:00000000 r4:c09b5590 [ 62.415459] [] (show_stack) from [] (dump_stack+0x8c/0xa0) [ 62.422714] [] (dump_stack) from [] (warn_slowpath_common+0x88/0xb8) [ 62.430837] r7:c04ac55c r6:00000523 r5:00000009 r4:00000000 [ 62.436554] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x24/0x2c) [ 62.445375] r8:c09d0964 r7:fffffdfd r6:ee59c87c r5:ee59cad0 r4:ee59c9d8 [ 62.452152] [] (warn_slowpath_null) from [] (vb2_start_streaming+0xe0/0x15c) [ 62.460979] [] (vb2_start_streaming) from [] (vb2_core_streamon+0x114/0x160) [ 62.469799] r7:c0498b80 r6:ee2fcc00 r5:ee1099c0 r4:ee59c87c [ 62.475519] [] (vb2_core_streamon) from [] (vb2_streamon+0x38/0x58) [ 62.483553] r5:ee1099c0 r4:00000001 [ 62.487159] [] (vb2_streamon) from [] (vb2_ioctl_streamon+0x44/0x48) [ 62.495290] [] (vb2_ioctl_streamon) from [] (v4l_streamon+0x24/0x28) [ 62.503411] r5:40045612 r4:c04affd8 [ 62.507022] [] (v4l_streamon) from [] (__video_do_ioctl+0x2c0/0x334) [ 62.515144] r5:40045612 r4:00000001 [ 62.518754] [] (__video_do_ioctl) from [] (video_usercopy+0x1d0/0x4fc) [ 62.527050] r10:ee0a7e30 r9:bee22bb0 r8:00000001 r7:00000000 r6:00000004 r5:00000004 [ 62.534951] r4:40045612 [ 62.537506] [] (video_usercopy) from [] (video_ioctl2+0x18/0x1c) [ 62.545279] r10:00000000 r9:ee0a6000 r8:eeab50cc r7:bee22bb0 r6:40045612 r5:ee1099c0 [ 62.553184] r4:ee2fcc00 [ 62.555739] [] (video_ioctl2) from [] (v4l2_ioctl+0xa8/0xe0) [ 62.563170] [] (v4l2_ioctl) from [] (do_vfs_ioctl+0x460/0x6dc) [ 62.570769] r9:ee0a6000 r8:bee22bb0 r7:00000003 r6:ee1099c0 r5:ed14d720 r4:bee22bb0 [ 62.578589] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x3c/0x64) [ 62.585926] r10:00000000 r9:ee0a6000 r8:bee22bb0 r7:40045612 r6:ee1099c0 r5:00000003 [ 62.593828] r4:ee1099c0 [ 62.596381] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x3c) [ 62.603981] r9:ee0a6000 r8:c000fe24 r7:00000036 r6:00000000 r5:00000000 r4:bee22bf8 [ 62.615850] ---[ end trace 8a98eca6f1a727d2 ]--- [ 62.620619] video0: VIDIOC_STREAMON: error -515: type=vid-cap [ 62.620961] vip1-s1: vip_release [ 62.621057] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 0 [ 62.632035] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 1 [ 62.638172] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 2 [ 62.644299] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 3 [ 62.650163] vip1-s1: vip_release_stream: stream instance 0xee59c000 [ 62.650171] vip1-s1: vip_release_port: port instance 0xeead5c10