linux/drivers/media/platform
Alexandre Courbot 52fafc58c3 media: mtk-vcodec: fix access to incorrect planes member
Commit 0650a91499 ("media: mtk-vcodec: Correct return type for mem2mem
buffer helpers") fixed the return types for mem2mem buffer helper
functions by changing a few local variables from vb2_buffer to
vb2_v4l2_buffer. However, it left a few accesses to vb2_buffer::planes
as-is, accidentally turning them into accesses to
vb2_v4l2_buffer::planes and resulting in values being read from/written
to the wrong place.

Fix this by inserting vb2_buf into these accesses so they mimic their
original behavior.

Fixes: 0650a91499 ("media: mtk-vcodec: Correct return type for mem2mem buffer helpers")

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-29 07:41:46 -04:00
..
am437x media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
atmel media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
cadence media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero 2018-10-04 16:21:02 -04:00
cec-gpio media: cec-gpio: support 5v testing 2018-07-25 07:12:36 -04:00
coda media: platform: fix several typos 2019-03-01 09:35:21 -05:00
cros-ec-cec media: platform: Add ChromeOS EC CEC driver 2018-07-13 08:44:46 +01:00
davinci media: davinci-isif: avoid uninitialized variable use 2019-03-29 07:40:10 -04:00
exynos4-is media: platform: fix several typos 2019-03-01 09:35:21 -05:00
exynos-gsc media: exynos-gsc: replace v4l2_crop by v4l2_selection 2018-11-20 13:46:06 -05:00
marvell-ccic media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
meson media: platform: meson-ao-cec: make busy TX warning silent 2018-07-24 17:52:20 -04:00
mtk-jpeg media: mtk-jpeg: Correct return type for mem2mem buffer helpers 2019-02-18 15:28:43 -05:00
mtk-mdp media: platform: fix several typos 2019-03-01 09:35:21 -05:00
mtk-vcodec media: mtk-vcodec: fix access to incorrect planes member 2019-03-29 07:41:46 -04:00
mtk-vpu mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
omap media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
omap3isp media: platform: fix several typos 2019-03-01 09:35:21 -05:00
qcom media: hfi_parser: don't trick gcc with a wrong expected size 2019-03-25 18:02:34 -04:00
rcar-vin media: rcar-dma: p_set can't be NULL 2019-03-25 18:02:31 -04:00
rockchip/rga media: platform: fix several typos 2019-03-01 09:35:21 -05:00
s3c-camif media: platform: fix several typos 2019-03-01 09:35:21 -05:00
s5p-cec media: s5p-cec: add NACK detection support 2017-09-23 07:29:30 -04:00
s5p-g2d media: s5p-g2d: Correct return type for mem2mem buffer helpers 2019-02-18 15:30:45 -05:00
s5p-jpeg media: platform: fix several typos 2019-03-01 09:35:21 -05:00
s5p-mfc Devicetree updates for v5.1: 2019-03-10 10:58:43 -07:00
seco-cec media: secocec: fix ir address shift 2019-01-16 11:44:50 -05:00
sti media: sti/delta: remove uneeded check 2019-03-25 18:02:30 -04:00
stm32 media: stm32-dcmi: fix DMA corruption when stopping streaming 2019-03-19 13:50:08 -04:00
sunxi/sun6i-csi media: platform: fix several typos 2019-03-01 09:35:21 -05:00
tegra-cec media: tegra-cec: reset rx_buf_cnt when start bit detected 2018-03-05 07:46:24 -05:00
ti-vpe media: ti-vpe: Parse local endpoint for properties, not the remote one 2019-03-20 06:36:07 -04:00
vicodec media: vicodec: set pixelformat to V4L2_PIX_FMT_FWHT_STATELESS for stateless decoder 2019-03-25 14:13:32 -04:00
vimc media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
vivid media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
vsp1 media: platform: fix several typos 2019-03-01 09:35:21 -05:00
xilinx media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
aspeed-video.c media: platform: Fix missing spin_lock_init() 2019-01-07 13:54:01 -05:00
fsl-viu.c media: videobuf: use u64 for the timestamp internally 2019-02-07 12:11:19 -05:00
imx-pxp.c media: imx-pxp: Start using the format VUYA32 instead of YUV32 (v2) 2019-02-18 14:34:47 -05:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
m2m-deinterlace.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
Makefile media: soc_camera: Move to the staging tree 2019-02-18 12:09:19 -05:00
mx2_emmaprp.c media: mx2_emmaprp: Correct return type for mem2mem buffer helpers 2019-02-18 15:30:02 -05:00
pxa_camera.c media: pxa-camera: Match with device node, not the port node 2019-03-20 06:35:41 -04:00
rcar_drif.c media: rcar_drif: Remove devm_ioremap_resource() error printing 2019-03-19 13:44:38 -04:00
rcar_fdp1.c media: v4l: rcar_fdp1: Fix indentation oddities 2019-03-25 14:14:56 -04:00
rcar_jpu.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rcar-fcp.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
renesas-ceu.c media: renesas-ceu: Use default mbus settings 2018-10-04 16:25:33 -04:00
sh_veu.c media: platform/sh_veu.c: remove redundant NULL pointer checks 2019-03-19 13:49:19 -04:00
sh_vou.c media: doc-rst: Fix broken references 2018-11-23 05:42:49 -05:00
via-camera.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c media: video-mux: add bayer formats 2019-02-18 15:59:00 -05:00
vim2m.c media: vim2m: replace devm_kzalloc by kzalloc 2019-03-19 13:23:19 -04:00