Skip to contentSkip to conversation

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

PATCH In review Roshan Khatri 2 participants 2 messages May 22, 2024 – Sep 2, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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

codespell reported misspelled coefficients and vector in atomisp.h. This patch corrects the spellings to increase readability and searching.

---
 drivers/staging/media/atomisp/include/linux/atomisp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/atomisp/include/linux/atomisp.h +2 -2
index bbbd904b696a..1d11a9579587 100644
@@ -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)
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 4 lines · Roshan Khatri

codespell reported misspelled coefficients and vector in atomisp.h. This patch corrects the spellings to increase readability and searching.

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

Quoted 26 lines
---
 drivers/staging/media/atomisp/include/linux/atomisp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/atomisp/include/linux/atomisp.h +2 -2
index bbbd904b696a..1d11a9579587 100644
@@ -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)