On 10/04/18 13:01, [email protected] wrote:
> From: Bård Eirik Winther <[email protected]>
>
Same here: missing commit message.
This patch looks good otherwise.
Regards,
Hans
> Signed-off-by: Bård Eirik Winther <[email protected]>
> ---
> .../media/platform/vivid/vivid-vid-common.c | 28 +++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/drivers/media/platform/vivid/vivid-vid-common.c
> b/drivers/media/platform/vivid/vivid-vid-common.c
> index 27a0000a5973..9645a91b8782 100644
> --- a/drivers/media/platform/vivid/vivid-vid-common.c
> +++ b/drivers/media/platform/vivid/vivid-vid-common.c
> @@ -449,6 +449,34 @@ struct vivid_fmt vivid_formats[] = {
> .planes = 1,
> .buffers = 1,
> },
> + {
> + .fourcc = V4L2_PIX_FMT_SBGGR16, /* Bayer BG/GR */
> + .vdownsampling = { 1 },
> + .bit_depth = { 16 },
> + .planes = 1,
> + .buffers = 1,
> + },
> + {
> + .fourcc = V4L2_PIX_FMT_SGBRG16, /* Bayer GB/RG */
> + .vdownsampling = { 1 },
> + .bit_depth = { 16 },
> + .planes = 1,
> + .buffers = 1,
> + },
> + {
> + .fourcc = V4L2_PIX_FMT_SGRBG16, /* Bayer GR/BG */
> + .vdownsampling = { 1 },
> + .bit_depth = { 16 },
> + .planes = 1,
> + .buffers = 1,
> + },
> + {
> + .fourcc = V4L2_PIX_FMT_SRGGB16, /* Bayer RG/GB */
> + .vdownsampling = { 1 },
> + .bit_depth = { 16 },
> + .planes = 1,
> + .buffers = 1,
> + },
> {
> .fourcc = V4L2_PIX_FMT_HSV24, /* HSV 24bits */
> .color_enc = TGP_COLOR_ENC_HSV,
>