]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: meson-ge2d: Fix rotation parameter changes detection in 'ge2d_s_ctrl()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 30 Jul 2021 19:35:05 +0000 (21:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 6 Aug 2021 08:47:52 +0000 (10:47 +0200)
commit67fdf5ed9502c0d877131ad45bdaf8b4027b3c7b
tree7b2172ce66364a19c5134f6d7c86634dee2e895b
parent46060cfe2be96821e153481f63ee5c55fecde690
media: meson-ge2d: Fix rotation parameter changes detection in 'ge2d_s_ctrl()'

There is likely a typo here. To be consistent, we should compare
'fmt.height' with 'ctx->out.pix_fmt.height', not 'ctx->out.pix_fmt.width'.

Instead of fixing the test, just remove it and copy 'fmt' unconditionally.

Fixes: 59a635327ca7 ("media: meson: Add M2M driver for the Amlogic GE2D Accelerator Unit")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/meson/ge2d/ge2d.c