2023-11-24 09:53:00

by Dario Binacchi

[permalink] [raw]
Subject: [PATCH] video: fbdev: mmp: Fix typo in code comment

s/singals/signals/

Fixes: 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller")
Signed-off-by: Dario Binacchi <[email protected]>
---

drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/mmp/hw/mmp_spi.c b/drivers/video/fbdev/mmp/hw/mmp_spi.c
index 16401eb95c6c..64e34b7e739e 100644
--- a/drivers/video/fbdev/mmp/hw/mmp_spi.c
+++ b/drivers/video/fbdev/mmp/hw/mmp_spi.c
@@ -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
*/
--
2.42.0


2023-11-24 15:34:44

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] video: fbdev: mmp: Fix typo in code comment

Hi,

On 11/24/23 01:52, Dario Binacchi wrote:
> s/singals/signals/
>
> Fixes: 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller")
> Signed-off-by: Dario Binacchi <[email protected]>
> ---
>
> drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/fbdev/mmp/hw/mmp_spi.c b/drivers/video/fbdev/mmp/hw/mmp_spi.c
> index 16401eb95c6c..64e34b7e739e 100644
> --- a/drivers/video/fbdev/mmp/hw/mmp_spi.c
> +++ b/drivers/video/fbdev/mmp/hw/mmp_spi.c
> @@ -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

> * or it would cause the wrong waveform when send spi command,
> * especially on pxa910h
> */

thanks.
--
~Randy

2023-11-25 08:58:24

by Helge Deller

[permalink] [raw]
Subject: Re: [PATCH] video: fbdev: mmp: Fix typo in code comment

On 11/24/23 16:34, Randy Dunlap wrote:
> Hi,
>
> On 11/24/23 01:52, Dario Binacchi wrote:
>> s/singals/signals/
>>
>> Fixes: 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller")
>> Signed-off-by: Dario Binacchi <[email protected]>
>> ---
>>
>> drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/video/fbdev/mmp/hw/mmp_spi.c b/drivers/video/fbdev/mmp/hw/mmp_spi.c
>> index 16401eb95c6c..64e34b7e739e 100644
>> --- a/drivers/video/fbdev/mmp/hw/mmp_spi.c
>> +++ b/drivers/video/fbdev/mmp/hw/mmp_spi.c
>> @@ -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

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

Thanks!
Helge