linux/drivers/media/platform
Lucas Stach e066306bac media: coda: don't overwrite h.264 profile_idc on decoder instance
[ Upstream commit 1f32061e84 ]

On a decoder instance, after the profile has been parsed from the stream
__v4l2_ctrl_s_ctrl() is called to notify userspace about changes in the
read-only profile control. This ends up calling back into the CODA driver
where a missing check on the s_ctrl caused the profile information that has
just been parsed from the stream to be overwritten with the default
baseline profile.

Later on the driver fails to enable frame reordering, based on the wrong
profile information.

Fixes: 347de126d1da (media: coda: add read-only h.264 decoder
                     profile/level controls)

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:19:10 +01:00
..
am437x
atmel
cadence
cec-gpio
coda media: coda: don't overwrite h.264 profile_idc on decoder instance 2018-11-21 09:19:10 +01:00
cros-ec-cec
davinci media: davinci: vpif_display: Mix memory leak on probe error path 2018-08-02 19:14:25 -04:00
exynos-gsc media: exynos-gsc: fix return code if mutex was interrupted 2018-08-08 10:57:14 -04:00
exynos4-is
marvell-ccic
meson
mtk-jpeg
mtk-mdp
mtk-vcodec
mtk-vpu
omap
omap3isp media: isp: fix a warning about a wrong struct initializer 2018-08-08 10:57:14 -04:00
qcom media: camss: add missing includes 2018-08-29 14:02:06 -04:00
rcar-vin media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rockchip/rga
s3c-camif media: s3c-camif: fix return code for the polling routine 2018-08-08 10:57:14 -04:00
s5p-cec
s5p-g2d
s5p-jpeg
s5p-mfc
soc_camera media: sh_mobile_ceu: convert to SPDX identifiers 2018-08-03 16:06:08 -04:00
sti media: headers: fix linux/mod_devicetable.h inclusions 2018-08-02 18:30:54 -04:00
stm32
tegra-cec
ti-vpe
vicodec
vimc Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
vivid media: replace ADOBERGB by OPRGB 2018-11-13 11:08:54 -08:00
vsp1 media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
xilinx
fsl-viu.c
Kconfig media: platform: fix cros-ec-cec build error 2018-09-17 14:32:29 -04:00
m2m-deinterlace.c
Makefile - New Drivers 2018-08-20 15:38:44 -07:00
mx2_emmaprp.c
pxa_camera.c
rcar_drif.c media: rcar_drif: convert to SPDX identifiers 2018-08-03 16:04:29 -04:00
rcar_fdp1.c media: rcar_fdp1: convert to SPDX identifiers 2018-08-03 16:04:49 -04:00
rcar_jpu.c media: rcar_jpu: convert to SPDX identifiers 2018-08-03 16:05:08 -04:00
rcar-fcp.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
renesas-ceu.c
sh_veu.c media: sh_veu: convert to SPDX identifiers 2018-08-03 16:05:26 -04:00
sh_vou.c media: sh_vou: convert to SPDX identifiers 2018-08-03 16:05:51 -04:00
via-camera.c
via-camera.h
video-mux.c
vim2m.c