media: atomisp: Fix spelling mistakes in sh_css_mipi.c
authorDipendra Khadka <kdipendra88@gmail.com>
Sat, 23 Dec 2023 06:41:52 +0000 (07:41 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 1 Feb 2024 05:59:51 +0000 (06:59 +0100)
codespell reported following spelling mistake
in sh_css_mipi.c as below:

'''
./sh_css_mipi.c:177: separatelly ==> separately
./sh_css_mipi.c:540: ofset ==> offset, of set
'''
This patch fixes these spelling mistakes by changing
"separatelly" to "separately" and "ofset" to "offset".

Link: https://lore.kernel.org/r/20231223064152.79712-1-kdipendra88@gmail.com
Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/sh_css_mipi.c

index b7c1e164ee2449952a88c39e145d5910ee699efd..6e11fd7719384c47abd1108eadcf15ad05a4538f 100644 (file)
@@ -174,7 +174,7 @@ ia_css_mipi_frame_calculate_size(const unsigned int width,
        mem_words = ((embedded_data_size_words + 7) >> 3) +
        mem_words_for_first_line +
        (((height + 1) >> 1) - 1) * mem_words_per_odd_line +
-       /* ceil (height/2) - 1 (first line is calculated separatelly) */
+       /* ceil (height/2) - 1 (first line is calculated separately) */
        (height      >> 1) * mem_words_per_even_line + /* floor(height/2) */
        mem_words_for_EOF;
 
@@ -537,7 +537,7 @@ send_mipi_frames(struct ia_css_pipe *pipe)
 
        /* Hand-over the SP-internal mipi buffers */
        for (i = 0; i < my_css.num_mipi_frames[port]; i++) {
-               /* Need to include the ofset for port. */
+               /* Need to include the offset for port. */
                sh_css_update_host2sp_mipi_frame(port * NUM_MIPI_FRAMES_PER_STREAM + i,
                                                 my_css.mipi_frames[port][i]);
                sh_css_update_host2sp_mipi_metadata(port * NUM_MIPI_FRAMES_PER_STREAM + i,