staging: media/atomisp/include/linux: Fix spelling mistakes in atomisp.h

Message ID 20240522161830.57434-1-topofeverest8848@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Hans de Goede
Headers
Series staging: media/atomisp/include/linux: Fix spelling mistakes in atomisp.h |

Commit Message

Roshan Khatri May 22, 2024, 4:18 p.m. UTC
  codespell reported misspelled coefficients and vector in atomisp.h. This
patch corrects the spellings to increase readability and searching.

Signed-off-by: Roshan Khatri <topofeverest8848@gmail.com>
---
 drivers/staging/media/atomisp/include/linux/atomisp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Hans de Goede Sept. 2, 2024, 9:57 a.m. UTC | #1
Hi,

On 5/22/24 6:18 PM, Roshan Khatri wrote:
> codespell reported misspelled coefficients and vector in atomisp.h. This
> patch corrects the spellings to increase readability and searching.
> 
> Signed-off-by: Roshan Khatri <topofeverest8848@gmail.com>

Thank you for your 3 patch(es).

I have merged this/these in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And this/these will be included in my next pull-request to
Mauro (to media subsystem maintainer)

Regards,

Hans



> ---
>  drivers/staging/media/atomisp/include/linux/atomisp.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h
> index bbbd904b696a..1d11a9579587 100644
> --- a/drivers/staging/media/atomisp/include/linux/atomisp.h
> +++ b/drivers/staging/media/atomisp/include/linux/atomisp.h
> @@ -201,7 +201,7 @@ struct atomisp_dis_vector {
>  };
>  
>  /* DVS 2.0 Coefficient types. This structure contains 4 pointers to
> - *  arrays that contain the coeffients for each type.
> + *  arrays that contain the coefficients for each type.
>   */
>  struct atomisp_dvs2_coef_types {
>  	short __user *odd_real; /** real part of the odd coefficients*/
> @@ -741,7 +741,7 @@ enum atomisp_burst_capture_options {
>  /* Digital Image Stabilization:
>   * 1. get dis statistics: reads DIS statistics from ISP (every frame)
>   * 2. set dis coefficients: set DIS filter coefficients (one time)
> - * 3. set dis motion vecotr: set motion vector (result of DIS, every frame)
> + * 3. set dis motion vector: set motion vector (result of DIS, every frame)
>   */
>  #define ATOMISP_IOC_G_DIS_STAT \
>  	_IOWR('v', BASE_VIDIOC_PRIVATE + 6, struct atomisp_dis_statistics)
  

Patch

diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h
index bbbd904b696a..1d11a9579587 100644
--- a/drivers/staging/media/atomisp/include/linux/atomisp.h
+++ b/drivers/staging/media/atomisp/include/linux/atomisp.h
@@ -201,7 +201,7 @@  struct atomisp_dis_vector {
 };
 
 /* DVS 2.0 Coefficient types. This structure contains 4 pointers to
- *  arrays that contain the coeffients for each type.
+ *  arrays that contain the coefficients for each type.
  */
 struct atomisp_dvs2_coef_types {
 	short __user *odd_real; /** real part of the odd coefficients*/
@@ -741,7 +741,7 @@  enum atomisp_burst_capture_options {
 /* Digital Image Stabilization:
  * 1. get dis statistics: reads DIS statistics from ISP (every frame)
  * 2. set dis coefficients: set DIS filter coefficients (one time)
- * 3. set dis motion vecotr: set motion vector (result of DIS, every frame)
+ * 3. set dis motion vector: set motion vector (result of DIS, every frame)
  */
 #define ATOMISP_IOC_G_DIS_STAT \
 	_IOWR('v', BASE_VIDIOC_PRIVATE + 6, struct atomisp_dis_statistics)