]> git.baikalelectronics.ru Git - kernel.git/commit
media: am437x-vpfe: Use a per instance format array instead of a static one
authorBenoit Parrot <bparrot@ti.com>
Fri, 20 Sep 2019 17:05:49 +0000 (14:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 19:12:52 +0000 (16:12 -0300)
commitb8bc75b86273fff6f54d430be0fb2f6b95a27091
tree22028d6421414a6eb6e74d29bb686fca0305cc13
parent383efae6e7c66d25e85271ffc4230399a34a510c
media: am437x-vpfe: Use a per instance format array instead of a static one

Using a statically defined format array would cause issue when
multiple vpfe instance would be connected to sub-device of
different capabilities. We need to use an instance based array
instead to properly maintain a per port/instance format list.

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