libcamera: camera: Fix CameraConfiguration spelling error
diff mbox series

Message ID 20241004111952.73689-1-umang.jain@ideasonboard.com
State Accepted
Commit 3513db6cc6a6b6fb10d95c5aac5dec3645ede7b2
Headers show
Series
  • libcamera: camera: Fix CameraConfiguration spelling error
Related show

Commit Message

Umang Jain Oct. 4, 2024, 11:19 a.m. UTC
The documentation of CameraConfiguration::validate() has one
misspelled "CameraConfiguration". Fix it.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
---
 src/libcamera/camera.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart Oct. 7, 2024, 6:36 p.m. UTC | #1
Hi Umang,

Thank you for the patch.

On Fri, Oct 04, 2024 at 04:49:52PM +0530, Umang Jain wrote:
> The documentation of CameraConfiguration::validate() has one
> misspelled "CameraConfiguration". Fix it.
> 
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>

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

> ---
>  src/libcamera/camera.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
> index a86f552a..7507e9dd 100644
> --- a/src/libcamera/camera.cpp
> +++ b/src/libcamera/camera.cpp
> @@ -336,7 +336,7 @@ void CameraConfiguration::addConfiguration(const StreamConfiguration &cfg)
>   * \retval CameraConfiguration::Invalid The configuration is invalid and can't
>   * be adjusted. This may only occur in extreme cases such as when the
>   * configuration is empty.
> - * \retval CameraConfigutation::Adjusted The configuration has been adjusted
> + * \retval CameraConfiguration::Adjusted The configuration has been adjusted
>   * and is now valid. Parameters may have changed for any stream, and stream
>   * configurations may have been removed. The caller shall check the
>   * configuration carefully.

Patch
diff mbox series

diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index a86f552a..7507e9dd 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -336,7 +336,7 @@  void CameraConfiguration::addConfiguration(const StreamConfiguration &cfg)
  * \retval CameraConfiguration::Invalid The configuration is invalid and can't
  * be adjusted. This may only occur in extreme cases such as when the
  * configuration is empty.
- * \retval CameraConfigutation::Adjusted The configuration has been adjusted
+ * \retval CameraConfiguration::Adjusted The configuration has been adjusted
  * and is now valid. Parameters may have changed for any stream, and stream
  * configurations may have been removed. The caller shall check the
  * configuration carefully.