[libcamera-devel,v1,2/4] libcamera: camera_sensor: Fix typo in comment
diff mbox series

Message ID 20230206170356.20340-3-laurent.pinchart@ideasonboard.com
State Accepted
Commit ec392360f65639d6fbc9d2c54fe119baa49248cb
Headers show
Series
  • Misc fixes for transformation handling
Related show

Commit Message

Laurent Pinchart Feb. 6, 2023, 5:03 p.m. UTC
Fix a typo introduced in a comment when refactoring transformation
handling in the CameraSensor class.

Fixes: 1a614866a29c ("libcamera: camera_sensor: Validate Transform")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/libcamera/camera_sensor.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Umang Jain Feb. 8, 2023, 10:26 a.m. UTC | #1
Hi Laurent,

Thank you for the patch

On 2/6/23 10:33 PM, Laurent Pinchart via libcamera-devel wrote:
> Fix a typo introduced in a comment when refactoring transformation
> handling in the CameraSensor class.
>
> Fixes: 1a614866a29c ("libcamera: camera_sensor: Validate Transform")
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>

> ---
>   src/libcamera/camera_sensor.cpp | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp
> index 11117502d817..274ed419ddfd 100644
> --- a/src/libcamera/camera_sensor.cpp
> +++ b/src/libcamera/camera_sensor.cpp
> @@ -1023,8 +1023,8 @@ Transform CameraSensor::validateTransform(Transform *transform) const
>   
>   	/*
>   	 * We combine the platform and user transform, but must "adjust away"
> -	 * any combined result that includes a transform, as we can't do those.
> -	 * In this case, flipping only the transpose bit is helpful to
> +	 * any combined result that includes a transposition, as we can't do
> +	 * those. In this case, flipping only the transpose bit is helpful to
>   	 * applications - they either get the transform they requested, or have
>   	 * to do a simple transpose themselves (they don't have to worry about
>   	 * the other possible cases).

Patch
diff mbox series

diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp
index 11117502d817..274ed419ddfd 100644
--- a/src/libcamera/camera_sensor.cpp
+++ b/src/libcamera/camera_sensor.cpp
@@ -1023,8 +1023,8 @@  Transform CameraSensor::validateTransform(Transform *transform) const
 
 	/*
 	 * We combine the platform and user transform, but must "adjust away"
-	 * any combined result that includes a transform, as we can't do those.
-	 * In this case, flipping only the transpose bit is helpful to
+	 * any combined result that includes a transposition, as we can't do
+	 * those. In this case, flipping only the transpose bit is helpful to
 	 * applications - they either get the transform they requested, or have
 	 * to do a simple transpose themselves (they don't have to worry about
 	 * the other possible cases).