]> 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)
commita66f8a6103881c28a59b70e0830d03bb7bde9334
treea848894a4774ca57e4ce81b4fdc2e3a80cca7a77
parent041514466f7bcd99ec65fa28431860eaad2c205a
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