[libcamera-devel,2/2] Documentation: sensor-driver: Correct camera rotation
diff mbox series

Message ID 20210118114624.13240-2-jacopo@jmondi.org
State Accepted
Commit dce1568a8a81f28592ba2ec9993fde1f39096031
Headers show
Series
  • [libcamera-devel,1/2] Documentation: sensor-drivers: Reorder introduction
Related show

Commit Message

Jacopo Mondi Jan. 18, 2021, 11:46 a.m. UTC
The description of the V4L2_CID_CAMERA_SENSOR_ROTATION control
usage wrongly mentioned the camera "orientation" while it actually
reports the camera rotation.

Fix it by using the right term.

Reported-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
---
 Documentation/sensor_driver_requirements.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kieran Bingham Jan. 18, 2021, 2:34 p.m. UTC | #1
On 18/01/2021 11:46, Jacopo Mondi wrote:
> The description of the V4L2_CID_CAMERA_SENSOR_ROTATION control
> usage wrongly mentioned the camera "orientation" while it actually
> reports the camera rotation.
> 
> Fix it by using the right term.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> Reported-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
> ---
>  Documentation/sensor_driver_requirements.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/sensor_driver_requirements.rst b/Documentation/sensor_driver_requirements.rst
> index 8cd24c15ca63..1dc8c890d16d 100644
> --- a/Documentation/sensor_driver_requirements.rst
> +++ b/Documentation/sensor_driver_requirements.rst
> @@ -43,7 +43,7 @@ The sensor driver should support the following V4L2 controls:
>  .. _V4L2_CID_CAMERA_ORIENTATION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-camera.html
>  .. _V4L2_CID_CAMERA_SENSOR_ROTATION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-process.html
>  
> -The controls are used to register the camera location and orientation.
> +The controls are used to register the camera location and rotation.
>  
>  The sensor driver should implement support for the V4L2 Selection API,
>  specifically it should implement support for the
>

Patch
diff mbox series

diff --git a/Documentation/sensor_driver_requirements.rst b/Documentation/sensor_driver_requirements.rst
index 8cd24c15ca63..1dc8c890d16d 100644
--- a/Documentation/sensor_driver_requirements.rst
+++ b/Documentation/sensor_driver_requirements.rst
@@ -43,7 +43,7 @@  The sensor driver should support the following V4L2 controls:
 .. _V4L2_CID_CAMERA_ORIENTATION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-camera.html
 .. _V4L2_CID_CAMERA_SENSOR_ROTATION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-process.html
 
-The controls are used to register the camera location and orientation.
+The controls are used to register the camera location and rotation.
 
 The sensor driver should implement support for the V4L2 Selection API,
 specifically it should implement support for the