diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2025-08-10 04:30:39 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-13 09:33:53 +0300 |
| commit | 4df43d4997ac34e371b2c08e8c506507da1652b2 (patch) | |
| tree | 80a0f1ad55fd73ac9d7ab065b46137aabc93d09b /scripts/const_structs.checkpatch | |
| parent | 52e6cd6aaa6bcac2647188518801d525e267edef (diff) | |
| download | linux-4df43d4997ac34e371b2c08e8c506507da1652b2.tar.xz | |
media: s5p-mfc: Store s5p_mfc_ctx in vb2_queue.drv_priv
The driver stores a pointer to a v4l2_fh in the vb2_queue.drv_priv,
which it then has to cast to a s5p_mfc_ctx pointer in all vb2 queue
operations. Store the pointer to the s5p_mfc_ctx instead to avoid the
cast. While at it, use the vb2_get_drv_priv() helper to access the
field.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
