]> 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)
commit102af734c5851889cb23d893713e50fa9a8a3d28
tree9fc36e23e5b48e1af7781e31cd996d77df7ba7c3
parentae4a8f724b8c0b463989ac3148f4d5b312856b32
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