Skip to contentSkip to conversation

video: fbdev: mmp: Fix typo in code comment

PATCH In review Dario Binacchi 3 participants 3 messages Nov 24, 2023 – Nov 25, 2023 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video: fbdev: mmp: Fix typo in code comment

s/singals/signals/

Fixes 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller")

---

 drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/mmp/hw/mmp_spi.c +1 -1
index 16401eb95c6c..64e34b7e739e 100644
@@ -91,7 +91,7 @@ static int lcd_spi_setup(struct spi_device *spi)
 	writel(tmp, reg_base + LCD_SPU_SPI_CTRL);
 
 	/*
-	 * After set mode it need a time to pull up the spi singals,
+	 * After set mode it need a time to pull up the spi signals,
 	 * or it would cause the wrong waveform when send spi command,
 	 * especially on pxa910h
 	 */
Signature · 1 line
2.42.0
#1 lore raw

Hi,

Quoted 14 lines · Dario Binacchi

s/singals/signals/

Fixes 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller")

---

 drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/mmp/hw/mmp_spi.c +0 -0
index 16401eb95c6c..64e34b7e739e 100644

drivers/video/fbdev/mmp/hw/mmp_spi.c static int lcd_spi_setup(struct spi_device *spi) · line 94

Quoted 5 lines
drivers/video/fbdev/mmp/hw/mmp_spi.c +1 -1
@@ -91,7 +91,7 @@ static int lcd_spi_setup(struct spi_device *spi)
 	writel(tmp, reg_base + LCD_SPU_SPI_CTRL);
 
 	/*
-	 * After set mode it need a time to pull up the spi singals,
+	 * After set mode it need a time to pull up the spi signals,

Also:
it needs time
or
it needs some time

drivers/video/fbdev/mmp/hw/mmp_spi.c static int lcd_spi_setup(struct spi_device *spi) · line 97

Quoted 3 lines
drivers/video/fbdev/mmp/hw/mmp_spi.c +0 -0
 	 * or it would cause the wrong waveform when send spi command,
 	 * especially on pxa910h
 	 */

thanks.

Signature · 1 line
~Randy
maintainer
#2 lore raw
Quoted 19 lines · Randy Dunlap

Hi,

Quoted 16 lines · Dario Binacchi

s/singals/signals/

Fixes 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller")

---

  drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/mmp/hw/mmp_spi.c +0 -0
index 16401eb95c6c..64e34b7e739e 100644
@@ -91,7 +91,7 @@ static int lcd_spi_setup(struct spi_device *spi)
  	writel(tmp, reg_base + LCD_SPU_SPI_CTRL);
 
Quoted 8 lines

drivers/video/fbdev/mmp/hw/mmp_spi.c static int lcd_spi_setup(struct spi_device *spi) · line 94

Quoted 3 lines
drivers/video/fbdev/mmp/hw/mmp_spi.c +1 -1
  	/*
-	 * After set mode it need a time to pull up the spi singals,
+	 * After set mode it need a time to pull up the spi signals,

Also:
it needs time
or
it needs some time

I've fixed it up and applied that patch to fbdev git tree.

Thanks!
Helge