[libcamera-devel] [PATCH] libipa: camera_sensor_helper: restore alphabetical order

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Jun 6 16:22:52 CEST 2023


Hi Benjamin,

Quoting Benjamin Bara via libcamera-devel (2023-06-06 15:18:05)
> From: Benjamin Bara <benjamin.bara at skidata.com>
> 

I'd still add a commit message here. We can add while applying if you're
happy:

The addition of the CameraSensorHelperImx327 class was not correctly
inserted in alphabetical sort order.

Move it to the correct location.

> Fixes: 7d5b38e2ef41 ("libipa: camera_sensor_helper: Add IMX327 helper")
> Reported-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Signed-off-by: Benjamin Bara <benjamin.bara at skidata.com>


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

> ---
> Unfortunately missed to keep the alphabetical order as mentioned by
> Laurent.
> ---
>  src/ipa/libipa/camera_sensor_helper.cpp | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp
> index 2eebd7ab..f0ecc383 100644
> --- a/src/ipa/libipa/camera_sensor_helper.cpp
> +++ b/src/ipa/libipa/camera_sensor_helper.cpp
> @@ -428,11 +428,6 @@ public:
>  };
>  REGISTER_CAMERA_SENSOR_HELPER("imx290", CameraSensorHelperImx290)
>  
> -class CameraSensorHelperImx327 : public CameraSensorHelperImx290
> -{
> -};
> -REGISTER_CAMERA_SENSOR_HELPER("imx327", CameraSensorHelperImx327)
> -
>  class CameraSensorHelperImx296 : public CameraSensorHelper
>  {
>  public:
> @@ -444,6 +439,11 @@ public:
>  };
>  REGISTER_CAMERA_SENSOR_HELPER("imx296", CameraSensorHelperImx296)
>  
> +class CameraSensorHelperImx327 : public CameraSensorHelperImx290
> +{
> +};
> +REGISTER_CAMERA_SENSOR_HELPER("imx327", CameraSensorHelperImx327)
> +
>  class CameraSensorHelperImx477 : public CameraSensorHelper
>  {
>  public:
> 
> ---
> base-commit: a0271e72a86da5796891795565f43f20f7024a8d
> change-id: 20230606-alphabetical-order-ea13b8e95f1e
> 
> Best regards,
> -- 
> Benjamin Bara <benjamin.bara at skidata.com>
>


More information about the libcamera-devel mailing list