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)
commit436ee4b515bb9a63f68f9d1917c7df75010c251d
tree9fc36e23e5b48e1af7781e31cd996d77df7ba7c3
parent7aea2c0b48a568e6732c1d30516febe36bf555f1
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