diff mbox series

[next] media: i2c: st-vgxy61: Fix spelling mistake "substraction" -> "subtraction"

Message ID 20221109150544.274795-1-colin.i.king@gmail.com
State New
Headers show
Series [next] media: i2c: st-vgxy61: Fix spelling mistake "substraction" -> "subtraction" | expand

Commit Message

Colin Ian King Nov. 9, 2022, 3:05 p.m. UTC
There are a couple of spelling mistakes in a literal string and in the
documentation. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 Documentation/userspace-api/media/drivers/st-vgxy61.rst | 2 +-
 drivers/media/i2c/st-vgxy61.c                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Benjamin Mugnier Nov. 10, 2022, 8:34 a.m. UTC | #1
Hi Colin,

Thank you for your patch.

On 11/9/22 16:05, Colin Ian King wrote:
> There are a couple of spelling mistakes in a literal string and in the
> documentation. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>

> ---
>  Documentation/userspace-api/media/drivers/st-vgxy61.rst | 2 +-
>  drivers/media/i2c/st-vgxy61.c                           | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/userspace-api/media/drivers/st-vgxy61.rst b/Documentation/userspace-api/media/drivers/st-vgxy61.rst
> index 213b884dcfa6..7fb5b4f60db7 100644
> --- a/Documentation/userspace-api/media/drivers/st-vgxy61.rst
> +++ b/Documentation/userspace-api/media/drivers/st-vgxy61.rst
> @@ -17,7 +17,7 @@ The ST VGXY61 driver implements the following controls:
>  
>      * - HDR linearize
>        - The merger outputs a long exposure capture as long as it is not saturated.
> -    * - HDR substraction
> +    * - HDR subtraction
>        - This involves subtracting the short exposure frame from the long exposure frame.
>      * - "No HDR"
>        - This mode is used for standard dynamic range (SDR) exposures.
> diff --git a/drivers/media/i2c/st-vgxy61.c b/drivers/media/i2c/st-vgxy61.c
> index dfbf25338160..e72fc3a8a54c 100644
> --- a/drivers/media/i2c/st-vgxy61.c
> +++ b/drivers/media/i2c/st-vgxy61.c
> @@ -197,7 +197,7 @@ static const char * const vgxy61_test_pattern_menu[] = {
>  
>  static const char * const vgxy61_hdr_mode_menu[] = {
>  	"HDR linearize",
> -	"HDR substraction",
> +	"HDR subtraction",
>  	"No HDR",
>  };
>
diff mbox series

Patch

diff --git a/Documentation/userspace-api/media/drivers/st-vgxy61.rst b/Documentation/userspace-api/media/drivers/st-vgxy61.rst
index 213b884dcfa6..7fb5b4f60db7 100644
--- a/Documentation/userspace-api/media/drivers/st-vgxy61.rst
+++ b/Documentation/userspace-api/media/drivers/st-vgxy61.rst
@@ -17,7 +17,7 @@  The ST VGXY61 driver implements the following controls:
 
     * - HDR linearize
       - The merger outputs a long exposure capture as long as it is not saturated.
-    * - HDR substraction
+    * - HDR subtraction
       - This involves subtracting the short exposure frame from the long exposure frame.
     * - "No HDR"
       - This mode is used for standard dynamic range (SDR) exposures.
diff --git a/drivers/media/i2c/st-vgxy61.c b/drivers/media/i2c/st-vgxy61.c
index dfbf25338160..e72fc3a8a54c 100644
--- a/drivers/media/i2c/st-vgxy61.c
+++ b/drivers/media/i2c/st-vgxy61.c
@@ -197,7 +197,7 @@  static const char * const vgxy61_test_pattern_menu[] = {
 
 static const char * const vgxy61_hdr_mode_menu[] = {
 	"HDR linearize",
-	"HDR substraction",
+	"HDR subtraction",
 	"No HDR",
 };