| From cddde446001cdae0f52612b8bceed6d491d7cfa0 Mon Sep 17 00:00:00 2001 |
| From: Kieran Bingham <kieran@bingham.xyz> |
| Date: Thu, 9 Jun 2016 14:57:02 -0300 |
| Subject: [PATCH 139/286] [media] v4l: vsp1: Fix format-info documentation |
| |
| Minor tweaks to document the swap register and make the documentation |
| match the struct ordering |
| |
| Signed-off-by: Kieran Bingham <kieran@bingham.xyz> |
| Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
| (cherry picked from commit f1450162544f5c4dc801c85bb28f64c0fa6146e7) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/media/platform/vsp1/vsp1_pipe.h | 5 +++-- |
| 1 file changed, 3 insertions(+), 2 deletions(-) |
| |
| --- a/drivers/media/platform/vsp1/vsp1_pipe.h |
| +++ b/drivers/media/platform/vsp1/vsp1_pipe.h |
| @@ -25,11 +25,12 @@ struct vsp1_rwpf; |
| |
| /* |
| * struct vsp1_format_info - VSP1 video format description |
| - * @mbus: media bus format code |
| * @fourcc: V4L2 pixel format FCC identifier |
| + * @mbus: media bus format code |
| + * @hwfmt: VSP1 hardware format |
| + * @swap: swap register control |
| * @planes: number of planes |
| * @bpp: bits per pixel |
| - * @hwfmt: VSP1 hardware format |
| * @swap_yc: the Y and C components are swapped (Y comes before C) |
| * @swap_uv: the U and V components are swapped (V comes before U) |
| * @hsub: horizontal subsampling factor |