Skip to contentSkip to conversation

staging: media: atomisp: fix typo in rx.c

PATCH In review Marlon Trujillo 2 participants 3 messages May 23 – Jun 3

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

PATCH 1/1 staging: media: atomisp: fix typo in rx.c

Fix spelling mistake: inptu -> input

---
 drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c +1 -1
index 9cfb8bc97e24..ce7035ce8606 100644
@@ -55,7 +55,7 @@ void ia_css_isys_rx_enable_all_interrupts(enum mipi_port_id port)
  * */
 enum mipi_port_id ia_css_isys_port_to_mipi_port(enum mipi_port_id api_port)
 {
-	/* In this module the validity of the inptu variable should
+	/* In this module the validity of the input variable should
 	 * have been checked already, so we do not check for erroneous
 	 * values. */
 	enum mipi_port_id port = MIPI_PORT0_ID;
Signature · 1 line
2.47.3
#1 lore raw
Quoted 2 lines · Marlon Trujillo

Fix spelling mistake: inptu -> input

Is this the only one single typo in the whole driver?

drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c void ia_css_isys_rx_enable_all_interrupts(enum mipi_port_id port) · line 60

Quoted 4 lines
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c +1 -1
-       /* In this module the validity of the inptu variable should
+       /* In this module the validity of the input variable should
         * have been checked already, so we do not check for erroneous
         * values. */

/*
* While at it, fix the multi-line comment
* style as shown in this example.
*/

But before doing that, invest your time into reading linux-media@ mailing list archive and see what others already sent (lore.kernel.org/linux-media).

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 1 line · Andy Shevchenko

Is this the only one single typo in the whole driver?

No, I took a closer look and found multiple similar typos across the driver.

Quoted 2 lines

But before doing that, invest your time into reading linux-media@

Thanks, that was helpful. I checked the linux-media archives and noticed others have already been sending similar typo and comment style fixes as well.

Given that, I can scan for additional typos and fix them together with their surrounding comment blocks.

Would you prefer a v2 of this patch, or a separate cleanup patch (or small series) covering these fixes?

Thanks,
Marlon