[libcamera-devel] [PATCH] android: camera_device: Fix spelling in comment

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Sep 7 15:02:21 CEST 2020


Hi Jacopo,

Thank you for the patch.

On Mon, Sep 07, 2020 at 02:37:17PM +0200, Jacopo Mondi wrote:
> Just a small spelling fix: s/re-allcoation/re-allocation
> 
> Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
> ---
>  src/android/camera_device.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
> index 7edb3932f2c1..89b00a8c8ec7 100644
> --- a/src/android/camera_device.cpp
> +++ b/src/android/camera_device.cpp
> @@ -1185,7 +1185,7 @@ int CameraDevice::configureStreams(camera3_stream_configuration_t *stream_list)
>  	/*
>  	 * Clear and remove any existing configuration from previous calls, and
>  	 * ensure the required entries are available without further
> -	 * re-allcoation.
> +	 * re-allocation.

While at it, I'd switch to the correct spelling 'reallocation' :-)

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

>  	 */
>  	streams_.clear();
>  	streams_.reserve(stream_list->num_streams);

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list