media: allegro: remove cpb_size and gop_size from channel
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 3 Dec 2020 11:00:59 +0000 (12:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 15:11:23 +0000 (16:11 +0100)
commit7f046e4b05b382d6e1578b1963d79a1b68ee5be3
tree6f815df959c7a5388b45efe86b31a54084137943
parentd4a881c1b9f61978f05412487877b6745f58478d
media: allegro: remove cpb_size and gop_size from channel

The cpb_size and the gop_size are straight copies of the values in the
v4l2-ctrls. To avoid this duplication, directly get the values from the
v4l2-ctrls and remove the copies.

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-core.c