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

'''
./runtime/queue/src/queue.c:126: uncessary ==> unnecessary
./runtime/queue/src/queue.c:183: uncessary ==> unnecessary
'''
This patch fixes these spelling mistakes.

Link: https://lore.kernel.org/r/20231223071157.81082-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/runtime/queue/src/queue.c

index c4d4062206a2514c4786d3e69576deb497ba4202..0e430388b331b50276e5c748674c153b6b1e93da 100644 (file)
@@ -123,7 +123,7 @@ int ia_css_queue_enqueue(ia_css_queue_t *qhandle, uint32_t item)
 
                /* c. Store the queue object */
                /* Set only fields requiring update with
-                * valid value. Avoids uncessary calls
+                * valid value. Avoids unnecessary calls
                 * to load/store functions
                 */
                ignore_desc_flags = QUEUE_IGNORE_SIZE_START_STEP_FLAGS;
@@ -180,7 +180,7 @@ int ia_css_queue_dequeue(ia_css_queue_t *qhandle, uint32_t *item)
 
                /* c. Store the queue object */
                /* Set only fields requiring update with
-                * valid value. Avoids uncessary calls
+                * valid value. Avoids unnecessary calls
                 * to load/store functions
                 */
                ignore_desc_flags = QUEUE_IGNORE_SIZE_END_STEP_FLAGS;