media: allegro: remove unknown39 field from create_channel
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:24 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:10:56 +0000 (09:10 +0100)
commit081172a11890f89438544447c7da90c35ea82c01
tree1b25276aa9d8f851f885166f3dd6db5fb0a166d5
parent8277815349327b8e65226eb58ddb680f90c2c0c0
media: allegro: remove unknown39 field from create_channel

The subframe_latency and lda_control_mode fields directly follow
freq_golden_ref field and there is no unknown field in between. The
unknown field it at the end of the message.

Reorder the fields accordingly. This further allows to drop the hard
coded value from the lda_control_mode field and set the mode to 0.

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/staging/media/allegro-dvt/allegro-core.c