]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11f8a9a35cbde7b0401c36c0698232a22d178133
tree482f04fc0a63c3164ccbc440003d903c40ad3df3
parent1f99efdbe5d69779dd6e6b78a11a317a583196db
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