diff mbox series

media: atomisp: Fix spelling errors reported by codespell

Message ID 20240926222351.7116-1-everestkc@everestkc.com.np
State New
Headers show
Series media: atomisp: Fix spelling errors reported by codespell | expand

Commit Message

Everest K.C. Sept. 26, 2024, 10:23 p.m. UTC
Fixed spelling errors as follows:
	unkonwn ==> unknown
	Stablization ==> Stabilization
	previouly ==> previously
	acknowlede ==> acknowledge

Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
---
 drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Hans de Goede Nov. 4, 2024, 11:59 a.m. UTC | #1
Hi,

On 27-Sep-24 12:23 AM, Everest K.C. wrote:
> Fixed spelling errors as follows:
> 	unkonwn ==> unknown
> 	Stablization ==> Stabilization
> 	previouly ==> previously
> 	acknowlede ==> acknowledge
> 
> Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>

Thank you for your patch(es).

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

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

Regards,

Hans


> ---
>  drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
> index d7e8a9871522..1e42a8ca68f5 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
> @@ -43,7 +43,7 @@ static const char *CARD = "ATOM ISP";	/* max size 31 */
>  
>  /*
>   * FIXME: ISP should not know beforehand all CIDs supported by sensor.
> - * Instead, it needs to propagate to sensor unkonwn CIDs.
> + * Instead, it needs to propagate to sensor unknown CIDs.
>   */
>  static struct v4l2_queryctrl ci_v4l2_controls[] = {
>  	{
> @@ -112,7 +112,7 @@ static struct v4l2_queryctrl ci_v4l2_controls[] = {
>  	{
>  		.id = V4L2_CID_ATOMISP_VIDEO_STABLIZATION,
>  		.type = V4L2_CTRL_TYPE_INTEGER,
> -		.name = "Video Stablization",
> +		.name = "Video Stabilization",
>  		.minimum = 0,
>  		.maximum = 1,
>  		.step = 1,
> @@ -678,7 +678,7 @@ static int atomisp_g_fmt_cap(struct file *file, void *fh,
>  
>  	f->fmt.pix = pipe->pix;
>  
> -	/* If s_fmt was issued, just return whatever is was previouly set */
> +	/* If s_fmt was issued, just return whatever is was previously set */
>  	if (f->fmt.pix.sizeimage)
>  		return 0;
>  
> @@ -1028,7 +1028,7 @@ void atomisp_stop_streaming(struct vb2_queue *vq)
>  	/*
>  	 * ISP work around, need to reset ISP to allow next stream on to work.
>  	 * Streams have already been destroyed by atomisp_css_stop().
> -	 * Disable PUNIT/ISP acknowlede/handshake - SRSE=3 and then reset.
> +	 * Disable PUNIT/ISP acknowledge/handshake - SRSE=3 and then reset.
>  	 */
>  	pci_write_config_dword(pdev, PCI_I_CONTROL,
>  			       isp->saved_regs.i_control | MRFLD_PCI_I_CONTROL_SRSE_RESET_MASK);
diff mbox series

Patch

diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
index d7e8a9871522..1e42a8ca68f5 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
@@ -43,7 +43,7 @@  static const char *CARD = "ATOM ISP";	/* max size 31 */
 
 /*
  * FIXME: ISP should not know beforehand all CIDs supported by sensor.
- * Instead, it needs to propagate to sensor unkonwn CIDs.
+ * Instead, it needs to propagate to sensor unknown CIDs.
  */
 static struct v4l2_queryctrl ci_v4l2_controls[] = {
 	{
@@ -112,7 +112,7 @@  static struct v4l2_queryctrl ci_v4l2_controls[] = {
 	{
 		.id = V4L2_CID_ATOMISP_VIDEO_STABLIZATION,
 		.type = V4L2_CTRL_TYPE_INTEGER,
-		.name = "Video Stablization",
+		.name = "Video Stabilization",
 		.minimum = 0,
 		.maximum = 1,
 		.step = 1,
@@ -678,7 +678,7 @@  static int atomisp_g_fmt_cap(struct file *file, void *fh,
 
 	f->fmt.pix = pipe->pix;
 
-	/* If s_fmt was issued, just return whatever is was previouly set */
+	/* If s_fmt was issued, just return whatever is was previously set */
 	if (f->fmt.pix.sizeimage)
 		return 0;
 
@@ -1028,7 +1028,7 @@  void atomisp_stop_streaming(struct vb2_queue *vq)
 	/*
 	 * ISP work around, need to reset ISP to allow next stream on to work.
 	 * Streams have already been destroyed by atomisp_css_stop().
-	 * Disable PUNIT/ISP acknowlede/handshake - SRSE=3 and then reset.
+	 * Disable PUNIT/ISP acknowledge/handshake - SRSE=3 and then reset.
 	 */
 	pci_write_config_dword(pdev, PCI_I_CONTROL,
 			       isp->saved_regs.i_control | MRFLD_PCI_I_CONTROL_SRSE_RESET_MASK);