]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: media: atomisp: Fix spelling mistakes in comments
authorTomasz Unger <tomasz.unger@yahoo.pl>
Sun, 22 Feb 2026 13:16:37 +0000 (14:16 +0100)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 20 May 2026 08:29:27 +0000 (11:29 +0300)
Fix various spelling mistakes found by codespell:
 - aviod => avoid
 - corrent => correct
 - stablization => stabilization
 - addtional => additional
 - facor => factor
 - steams => streams

Signed-off-by: Tomasz Unger <tomasz.unger@yahoo.pl>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_cmd.h
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
drivers/staging/media/atomisp/pci/atomisp_compat_css20.h

index fec369575d883b6fd643bb8e2ab6d8cf8bd0a5ad..5e5f3fe1ba7da092f217228906b26f2a52b4c7b7 100644 (file)
@@ -811,7 +811,7 @@ void atomisp_buf_done(struct atomisp_sub_device *asd, int error,
                        /* New global dvs 6axis config should be blocked
                         * here if there's a buffer with per-frame parameters
                         * pending in CSS frame buffer queue.
-                        * This is to aviod zooming vibration since global
+                        * This is to avoid zooming vibration since global
                         * parameters take effect immediately while
                         * per-frame parameters are taken after previous
                         * buffers in CSS got processed.
@@ -974,7 +974,7 @@ irqreturn_t atomisp_isr_thread(int irq, void *isp_ptr)
         * to a FIFO, then process the event in the FIFO.
         * This will not have issue in single stream mode, but it do have some
         * issue in multiple stream case. The issue is that
-        * ia_css_pipe_dequeue_buffer() will not return the corrent buffer in
+        * ia_css_pipe_dequeue_buffer() will not return the correct buffer in
         * a specific pipe.
         *
         * This is due to ia_css_pipe_dequeue_buffer() does not take the
@@ -1575,7 +1575,7 @@ int atomisp_set_dis_vector(struct atomisp_sub_device *asd,
 }
 
 /*
- * Function to set/get image stablization statistics
+ * Function to set/get image stabilization statistics
  */
 int atomisp_get_dis_stat(struct atomisp_sub_device *asd,
                         struct atomisp_dis_statistics *stats)
@@ -3232,7 +3232,7 @@ int atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag,
 }
 
 /*
- * Function to enable/disable video image stablization
+ * Function to enable/disable video image stabilization
  */
 int atomisp_video_stable(struct atomisp_sub_device *asd, int flag,
                         __s32 *value)
index 82199dc9284e9f8cbef05d6ef338205543335e52..d3d1f2574e77b4ddee3a0bbe43e600a81eb08fe4 100644 (file)
@@ -153,7 +153,7 @@ int atomisp_bad_pixel(struct atomisp_sub_device *asd, int flag,
 int atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag,
                            struct atomisp_dp_config *config);
 
-/* Function to enable/disable video image stablization */
+/* Function to enable/disable video image stabilization */
 int atomisp_video_stable(struct atomisp_sub_device *asd, int flag,
                         __s32 *value);
 
index be5f37f4a6fd05c64d6698f0888f9fc710d067a3..c30501a36f8688ff76992ca87d89e7b9f91ae674 100644 (file)
@@ -1957,7 +1957,7 @@ static void __configure_capture_pp_input(struct atomisp_sub_device *asd,
 
 /*
  * For CSS2.1, preview pipe could support bayer downscaling, yuv decimation and
- * yuv downscaling, which needs addtional configurations.
+ * yuv downscaling, which needs additional configurations.
  */
 static void __configure_preview_pp_input(struct atomisp_sub_device *asd,
        unsigned int width, unsigned int height,
@@ -2044,7 +2044,7 @@ static void __configure_preview_pp_input(struct atomisp_sub_device *asd,
                }
        }
        /*
-        * calculate YUV Decimation, YUV downscaling facor:
+        * calculate YUV Decimation, YUV downscaling factor:
         * YUV Downscaling factor must not exceed 2.
         * YUV Decimation factor could be 2, 4.
         */
@@ -2085,7 +2085,7 @@ static void __configure_preview_pp_input(struct atomisp_sub_device *asd,
 
 /*
  * For CSS2.1, offline video pipe could support bayer decimation, and
- * yuv downscaling, which needs addtional configurations.
+ * yuv downscaling, which needs additional configurations.
  */
 static void __configure_video_pp_input(struct atomisp_sub_device *asd,
                                       unsigned int width, unsigned int height,
@@ -3002,7 +3002,7 @@ int atomisp_css_get_zoom_factor(struct atomisp_sub_device *asd,
 }
 
 /*
- * Function to set/get image stablization statistics
+ * Function to set/get image stabilization statistics
  */
 int atomisp_css_get_dis_stat(struct atomisp_sub_device *asd,
                             struct atomisp_dis_statistics *stats)
index 75781807544aa61a35ffbdfbf4ad9b104d4ee7d3..5188df4f469cadf3cce15ed1933a4352bf1315fc 100644 (file)
@@ -40,7 +40,7 @@ enum atomisp_css_stream_state {
 };
 
 /*
- *  Sensor of external ISP can send multiple steams with different mipi data
+ *  Sensor of external ISP can send multiple streams with different mipi data
  * type in the same virtual channel. This information needs to come from the
  * sensor or external ISP
  */