Zefa Chen 6b4ed2fa4f media: rockchip: vicap fixes error of buffer init
in the case, qbuf once before start stream, than start stream and qbuf other buffers

error info
WARNING: CPU: 2 PID: 2811 at drivers/media/common/videobuf2/videobuf2-core.c:2035 __vb2_queue_cancel+0x1f8/0x260
Modules linked in: bcmdhd(O) r8168
CPU: 2 PID: 2811 Comm: PPThread Tainted: G        W  O       6.1.99 #520
Hardware name: Rockchip RK3576 EVB1 V10 Board + Rockchip RK628 HDMI to MIPI Extboard (DT)
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __vb2_queue_cancel+0x1f8/0x260
lr : __vb2_queue_cancel+0x38/0x260
sp : ffffffc00d3d3aa0
x29: ffffffc00d3d3aa0 x28: 00000000400004d8 x27: ffffff80eaa3c520
x26: ffffff80c7886e80 x25: 0000000000000009 x24: 00000000000e001b
x23: ffffff80c6179880 x22: 0000000000000000 x21: ffffff80c4ae0a18
x20: ffffff80c4ae09f8 x19: ffffff80c4ae06a0 x18: ffffffc00a491070
x17: 696e696620676e69 x16: ffffffffffffffff x15: 0000000000000004
x14: ffffffc009fbbf80 x13: 0000000000003fff x12: 0000000000000003
x11: 0000000000000000 x10: 0000000000000000 x9 : 80d7bbf14371e500
x8 : 0000000000000001 x7 : 205b5d3937333231 x6 : 392e32393431205b
x5 : ffffffc00a3d9617 x4 : ffffffc00d3d3707 x3 : 0000000000000000
x2 : 0000000000000000 x1 : ffffff80eaa3bd00 x0 : ffffff80eaa3bd00
Call trace:
 __vb2_queue_cancel+0x1f8/0x260
 vb2_core_queue_release+0x20/0x50
 vb2_fop_release+0x98/0xb0
 rkcif_fh_release+0x30/0xb0
 v4l2_release+0x94/0xf0
 __fput+0x80/0x25c
 ____fput+0x10/0x1c
 task_work_run+0xb4/0xd8
 do_exit+0x294/0x9bc
 do_group_exit+0x70/0x98
 get_signal+0x72c/0x828
 do_notify_resume+0x134/0x2140
 el0_svc+0x4c/0x68
 el0t_64_sync_handler+0x68/0xb4
 el0t_64_sync+0x164/0x168

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I891866ffa8a3d14eddd2c03a693b39f392afb035
2025-01-15 10:26:28 +00:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2024-11-01 01:56:07 +01:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%