diff options
author | Gjorgji Rosikopulos <grosikopulos@mms-0359.ent.mm-sol.com> | 2016-06-09 11:53:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-06-09 12:15:06 -0700 |
commit | cb14e97623d9289a30c3cfab02747581dda22f58 (patch) | |
tree | cb71d33892b3d2ff28c89f45454061eeef4c3916 | |
parent | 82278bfea04c9cda1e01ac4fe41938cc3f5f1252 (diff) | |
download | op-kernel-dev-cb14e97623d9289a30c3cfab02747581dda22f58.zip op-kernel-dev-cb14e97623d9289a30c3cfab02747581dda22f58.tar.gz |
greybus: camera: Add debug data format
Add support for greybus debug data format.
Greybus debug data format id is 0x42.
Signed-off-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Acked-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
-rw-r--r-- | drivers/staging/greybus/camera.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index d7cef2a..162cb7d 100644 --- a/drivers/staging/greybus/camera.c +++ b/drivers/staging/greybus/camera.c @@ -98,7 +98,11 @@ static const struct gb_camera_fmt_map mbus_to_gbus_format[] = { { .mbus_code = V4L2_MBUS_FMT_ARA_METADATA_1X8, .gb_format = 0x41, - } + }, + { + .mbus_code = V4L2_MBUS_FMT_ARA_DEBUG_DATA_1X8, + .gb_format = 0x42, + }, }; #define ES2_APB_CDSI0_CPORT 16 |