media: atomisp: Fix typos in comment
authorYu Jiaoliang <yujiaoliang@vivo.com>
Mon, 23 Sep 2024 03:30:23 +0000 (11:30 +0800)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 7 Nov 2024 14:16:06 +0000 (15:16 +0100)
Corrected typos:
componnet->component,
cofiguration->configuration,
doubtfull->doubtful,
consisit->consist,
coppied->copied.

These changes fix the typos in the comment,
without affecting the functionality.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Link: https://lore.kernel.org/r/20240923033032.2420839-1-yujiaoliang@vivo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c
drivers/staging/media/atomisp/pci/sh_css_mipi.c

index c9984f1..eb46ba4 100644 (file)
@@ -55,7 +55,7 @@
 /* G-Min addition: pull this in from intel_mid_pm.h */
 #define CSTATE_EXIT_LATENCY_C1  1
 
-/* cross componnet debug message flag */
+/* cross component debug message flag */
 int dbg_level;
 module_param(dbg_level, int, 0644);
 MODULE_PARM_DESC(dbg_level, "debug message level (default:0)");
index 8f2f4e8..dc82836 100644 (file)
@@ -406,7 +406,7 @@ input_system_err_t input_system_configuration_reset(void)
        config.unallocated_ib_mem_words                  = IB_CAPACITY_IN_WORDS;
        //config.acq_allocated_ib_mem_words              = 0;
 
-       // Set the start of the session cofiguration.
+       /* Set the start of the session configuration. */
        config.session_flags = INPUT_SYSTEM_CFG_FLAG_REQUIRED;
 
        return INPUT_SYSTEM_ERR_NO_ERROR;
index 7ce2b2d..3bfaf52 100644 (file)
@@ -951,7 +951,7 @@ int ia_css_binary_find(struct ia_css_binary_descr *descr, struct ia_css_binary *
        unsigned int i;
 
        assert(descr);
-       /* MW: used after an error check, may accept NULL, but doubtfull */
+       /* MW: used after an error check, may accept NULL, but doubtful */
        assert(binary);
 
        dev_dbg(atomisp_dev, "ia_css_binary_find() enter: descr=%p, (mode=%d), binary=%p\n",
index 2d7fddb..0ab83e1 100644 (file)
@@ -362,7 +362,7 @@ void ia_css_frame_free_multiple(unsigned int num_frames,
 int ia_css_frame_allocate_with_buffer_size(struct ia_css_frame **frame,
                                           const unsigned int buffer_size_bytes)
 {
-       /* AM: Body coppied from frame_allocate_with_data(). */
+       /* AM: Body copied from frame_allocate_with_data(). */
        int err;
        struct ia_css_frame *me = frame_create(0, 0,
                                               IA_CSS_FRAME_FORMAT_NUM,/* Not valid format yet */
index 80f0395..710744f 100644 (file)
@@ -169,7 +169,7 @@ ia_css_mipi_frame_calculate_size(const unsigned int width,
        /* ceil(words_per_odd_line/8); mem_word = 32 bytes, 8 words */
        mem_words_for_first_line = (words_for_first_line + 7) >> 3;
        mem_words_per_even_line  = (words_per_even_line + 7) >> 3;
-       mem_words_for_EOF        = 1; /* last line consisit of the optional (EOL) and EOF */
+       mem_words_for_EOF        = 1; /* last line consist of the optional (EOL) and EOF */
 
        mem_words = ((embedded_data_size_words + 7) >> 3) +
        mem_words_for_first_line +