From dc5cc72cc6c219868ad5b87b26c79ac778444210 Mon Sep 17 00:00:00 2001 From: Gjorgji Rosikopulos Date: Fri, 1 Apr 2016 17:32:43 +0300 Subject: [PATCH] greybus: camera: Add metadata format Add support for greybus metadata format. Greybus metadata format id is 0x41. Signed-off-by: Gjorgji Rosikopulos Acked-by: Laurent Pinchart Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/camera.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index 2de91d5..6db89ef 100644 --- a/drivers/staging/greybus/camera.c +++ b/drivers/staging/greybus/camera.c @@ -91,6 +91,10 @@ static const struct gb_camera_fmt_map mbus_to_gbus_format[] = { { .mbus_code = V4L2_MBUS_FMT_JPEG_1X8, .gb_format = 0x40, + }, + { + .mbus_code = V4L2_MBUS_FMT_ARA_METADATA_1X8, + .gb_format = 0x41, } }; -- 2.7.4