2023-12-22 20:15:35

by Dipendra Khadka

[permalink] [raw]
Subject: [PATCH] staging: media: atomisp: pci: Fix spelling mistake in isp2400_input_system_global.h

The script checkpatch.pl reported a spelling error
in isp2400_input_system_global.h as below:

'''
WARNING: 'upto' may be misspelled - perhaps 'up to'?
//MIPI allows upto 4 channels.
^^^^
'''

This patch corrects a spelling error,
changing "upto" to "up to".

Signed-off-by: Dipendra Khadka <[email protected]>
---
drivers/staging/media/atomisp/pci/isp2400_input_system_global.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h b/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
index 61f23814e2fd..3ff61faf0621 100644
--- a/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
+++ b/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
@@ -19,7 +19,7 @@
#define N_CSI_PORTS (3)
//AM: Use previous define for this.

-//MIPI allows upto 4 channels.
+//MIPI allows up to 4 channels.
#define N_CHANNELS (4)
// 12KB = 256bit x 384 words
#define IB_CAPACITY_IN_WORDS (384)
--
2.34.1



2023-12-31 09:40:30

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] staging: media: atomisp: pci: Fix spelling mistake in isp2400_input_system_global.h

Hi,

On 12/22/23 21:15, Dipendra Khadka wrote:
> The script checkpatch.pl reported a spelling error
> in isp2400_input_system_global.h as below:
>
> '''
> WARNING: 'upto' may be misspelled - perhaps 'up to'?
> //MIPI allows upto 4 channels.
> ^^^^
> '''
>
> This patch corrects a spelling error,
> changing "upto" to "up to".
>
> Signed-off-by: Dipendra Khadka <[email protected]>

Thank you for your patch.

I have merged this in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And this patch will be included in my next
pull-request to Mauro (to media subsystem maintainer)

Regards,

Hans



> ---
> drivers/staging/media/atomisp/pci/isp2400_input_system_global.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h b/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
> index 61f23814e2fd..3ff61faf0621 100644
> --- a/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
> +++ b/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
> @@ -19,7 +19,7 @@
> #define N_CSI_PORTS (3)
> //AM: Use previous define for this.
>
> -//MIPI allows upto 4 channels.
> +//MIPI allows up to 4 channels.
> #define N_CHANNELS (4)
> // 12KB = 256bit x 384 words
> #define IB_CAPACITY_IN_WORDS (384)