summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorKieran Bingham <kieran@bingham.xyz>2016-06-09 19:57:02 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-10 13:25:07 +0200
commitf1450162544f5c4dc801c85bb28f64c0fa6146e7 (patch)
tree50a8cf7f76167ec2e6fe04b99552f1535ec90a9b /drivers/media/platform
parent[media] dev-capture.rst/dev-output.rst: video standards ioctls are optional (diff)
downloadlinux-f1450162544f5c4dc801c85bb28f64c0fa6146e7.tar.xz
linux-f1450162544f5c4dc801c85bb28f64c0fa6146e7.zip
[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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/vsp1/vsp1_pipe.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_pipe.h b/drivers/media/platform/vsp1/vsp1_pipe.h
index ac4ad2655551..1144bf1e671a 100644
--- 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