WSL2-Linux-Kernel/drivers/staging
Chen-Yu Tsai 4ea5483120 media: hantro: Fix overfill bottom register field name
[ Upstream commit 89d78e0133 ]

The Hantro H1 hardware can crop off pixels from the right and bottom of
the source frame. These are controlled with the H1_REG_IN_IMG_CTRL_OVRFLB
and H1_REG_IN_IMG_CTRL_OVRFLR in the H1_REG_IN_IMG_CTRL register.

The ChromeOS kernel driver that this was based on incorrectly added the
_D4 suffix H1_REG_IN_IMG_CTRL_OVRFLB. This field crops the bottom of the
input frame, and the number is _not_ divided by 4. [1]

Correct the name to avoid confusion when crop support with the selection
API is added.

[1] https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/ \
	heads/chromeos-4.19/drivers/staging/media/hantro/hantro_h1_vp8_enc.c#377

Fixes: 775fec6900 ("media: add Rockchip VPU JPEG encoder driver")
Fixes: a29add8c9b ("media: rockchip/vpu: rename from rockchip to hantro")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:23:14 +02:00
..
android
axis-fifo
board
clocking-wizard
emxx_udc
fbtft staging: fbtft: fb_st7789v: reset display before initialization 2022-03-02 11:48:07 +01:00
fieldbus
fwserial
gdm724x staging: gdm724x: fix use after free in gdm_lte_rx() 2022-03-16 14:23:42 +01:00
greybus staging: greybus: audio: Check null pointer 2022-01-27 11:03:52 +01:00
gs_fpgaboot
iio
ks7010 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC 2021-11-18 19:16:52 +01:00
media media: hantro: Fix overfill bottom register field name 2022-04-08 14:23:14 +02:00
most staging: most: dim2: use device release method 2021-12-17 10:30:16 +01:00
mt7621-dma
mt7621-dts
mt7621-pci
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
r8188eu staging: r8188eu: switch the led off during deinit 2022-01-16 09:12:41 +01:00
ralink-gdma
rtl8192e staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib() 2022-01-27 11:03:26 +01:00
rtl8192u staging: rtl8192u: fix control-message timeouts 2021-11-12 15:05:51 +01:00
rtl8712 staging: r8712u: fix control-message timeout 2021-11-12 15:05:51 +01:00
rtl8723bs staging: rtl8723bs: Fix access-point mode deadlock 2022-03-16 14:23:42 +01:00
rts5208
sm750fb
unisys
vc04_services staging: vc04_services: Fix RCU dereference check 2022-02-23 12:03:17 +01:00
vme
vt6655
vt6656
wfx staging: wfx: ensure IRQ is ready before enabling it 2021-11-25 09:48:23 +01:00
wlan-ng staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn() 2022-01-16 09:12:45 +01:00
Kconfig
Makefile