]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: rkisp1: cap: enable RGB capture format with YUV media bus
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Sun, 12 Apr 2020 12:05:04 +0000 (14:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 May 2020 15:07:23 +0000 (17:07 +0200)
commit7006c2275352bc69446eedcb56e2e4639587b9b7
treea848894a4774ca57e4ce81b4fdc2e3a80cca7a77
parent0d6466d08193684dbeb9996ce6e0a70c7617524b
media: staging: rkisp1: cap: enable RGB capture format with YUV media bus

In selfpath, RGB capture formats are received in the sink pad as YUV
and are converted to RGB only when writing to memory. So the validation
function should accept YUV bus formats with RGB capture encoding.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-capture.c