linux/drivers/staging/media
Andrzej Pietrasiewicz 46b0e2900e media: hantro: Read be32 words starting at every fourth byte
commit e34bca49e4 upstream.

Since (luma/chroma)_qtable is an array of unsigned char, indexing it
returns consecutive byte locations, but we are supposed to read the arrays
in four-byte words. Consequently, we should be pointing
get_unaligned_be32() at consecutive word locations instead.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Tested-by: Ezequiel Garcia <ezequiel@collabora.com>
Cc: stable@vger.kernel.org
Fixes: 00c30f42c7 "media: rockchip vpu: remove some unused vars"
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-17 10:50:08 +02:00
..
allegro-dvt media: allegro: fix type of gop_length in channel_create message 2020-04-17 10:50:02 +02:00
hantro media: hantro: Read be32 words starting at every fourth byte 2020-04-17 10:50:08 +02:00
imx media: imx: imx7-media-csi: Fix video field handling 2020-04-17 10:50:01 +02:00
ipu3 media: intel-ipu3: Align struct ipu3_uapi_awb_fr_config_s to 32 bytes 2020-01-17 19:49:06 +01:00
meson/vdec media: meson: add missing allocation failure check on new_buf 2020-02-24 08:36:23 +01:00
omap4iss Staging/IIO driver patches for 5.4-rc1 2019-09-18 11:05:34 -07:00
soc_camera media: drivers/staging/media: don't set description for ENUM_FMT 2019-07-22 14:41:32 -04:00
sunxi media: cedrus: Use correct H264 8x8 scaling list 2020-01-17 19:48:58 +01:00
tegra-vde media: staging: tegra-vde: Fix build error 2019-08-07 17:04:12 -03:00
Kconfig media: staging: davinci: remove vpfe driver 2019-07-25 06:33:14 -04:00
Makefile media: staging: davinci: remove vpfe driver 2019-07-25 06:33:14 -04:00