]> git.baikalelectronics.ru Git - kernel.git/commit
media: allegro: fix row and column in response message
authorMichael Tretter <m.tretter@pengutronix.de>
Wed, 8 Sep 2021 13:03:49 +0000 (14:03 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 Oct 2021 14:57:27 +0000 (15:57 +0100)
commit7b4b4438970d11741dbf5ccc0ceb55ef525df6b2
tree9fc36e23e5b48e1af7781e31cd996d77df7ba7c3
parenta23e55d072b17e9386750d9e563f72f2d16078b2
media: allegro: fix row and column in response message

The fields for the number of rows and columns in the encode frame
response message are switched. This causes broken PPS, if the encoder
uses tiles for encoding and the number of rows and columns differ.

Write the fields of the response message into the correct fields of the
the internal data structure when parsing the response message.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/allegro-dvt/allegro-mail.c