OSDN Git Service

media: am437x-vpfe: Remove per bus width static data
authorBenoit Parrot <bparrot@ti.com>
Fri, 20 Sep 2019 17:05:52 +0000 (14:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 19:15:12 +0000 (16:15 -0300)
commitea169d2d656100cb76c5bf163eeb5e435efe58b7
tree482f04fc0a63c3164ccbc440003d903c40ad3df3
parent750ef54b7e2b03ce33dd3d7903aa8254e6f2adab
media: am437x-vpfe: Remove per bus width static data

The bus related static data included in the vpfe_fmt
static table can be derived dynamically instead.
This simplify the table and it's use.

We instead replace the per bus data info with just
the usual bit per pixel value for each supported
pixel format.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/am437x/am437x-vpfe.c
drivers/media/platform/am437x/am437x-vpfe.h