linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Saatvik Arya <aryasaatvik@gmail.com>
Cc: gregkh@linuxfoundation.org, mchehab@osg.samsung.com,
	linux-media@vger.kernel.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: staging: media: davinci_vpfe: dm365_resizer: fixed some spelling mistakes
Date: Tue, 22 Nov 2016 21:18:05 +0200	[thread overview]
Message-ID: <5085070.7aCI71b85W@avalon> (raw)
In-Reply-To: <20160203022642.GA6944@sinister>

Hi Saatvik,

Thank you for the patch, and sorry for the late reply.

On Wednesday 03 Feb 2016 07:56:42 Saatvik Arya wrote:
> fixed spelling mistakes which reffered to OUTPUT as OUPUT
> 
> Signed-off-by: Saatvik Arya <aryasaatvik@gmail.com>

I've picked the patch up and applied it to my tree. I will send a pull request 
to get it merged in the mainline kernel in v4.11.

> ---
>  drivers/staging/media/davinci_vpfe/dm365_resizer.c | 22 +++++++++----------
>  drivers/staging/media/davinci_vpfe/dm365_resizer.h |  2 +-
>  2 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.c
> b/drivers/staging/media/davinci_vpfe/dm365_resizer.c index acb293e..10f51f4
> 100644
> --- a/drivers/staging/media/davinci_vpfe/dm365_resizer.c
> +++ b/drivers/staging/media/davinci_vpfe/dm365_resizer.c
> @@ -495,7 +495,7 @@ resizer_configure_in_continious_mode(struct
> vpfe_resizer_device *resizer) int line_len;
>  	int ret;
> 
> -	if (resizer->resizer_a.output != RESIZER_OUPUT_MEMORY) {
> +	if (resizer->resizer_a.output != RESIZER_OUTPUT_MEMORY) {
>  		dev_err(dev, "enable resizer - Resizer-A\n");
>  		return -EINVAL;
>  	}
> @@ -507,7 +507,7 @@ resizer_configure_in_continious_mode(struct
> vpfe_resizer_device *resizer) param->rsz_en[RSZ_B] = DISABLE;
>  	param->oper_mode = RESIZER_MODE_CONTINIOUS;
> 
> -	if (resizer->resizer_b.output == RESIZER_OUPUT_MEMORY) {
> +	if (resizer->resizer_b.output == RESIZER_OUTPUT_MEMORY) {
>  		struct v4l2_mbus_framefmt *outformat2;
> 
>  		param->rsz_en[RSZ_B] = ENABLE;
> @@ -1048,13 +1048,13 @@ static void resizer_ss_isr(struct
> vpfe_resizer_device *resizer) if (ipipeif_sink != IPIPEIF_INPUT_MEMORY)
>  		return;
> 
> -	if (resizer->resizer_a.output == RESIZER_OUPUT_MEMORY) {
> +	if (resizer->resizer_a.output == RESIZER_OUTPUT_MEMORY) {
>  		val = vpss_dma_complete_interrupt();
>  		if (val != 0 && val != 2)
>  			return;
>  	}
> 
> -	if (resizer->resizer_a.output == RESIZER_OUPUT_MEMORY) {
> +	if (resizer->resizer_a.output == RESIZER_OUTPUT_MEMORY) {
>  		spin_lock(&video_out->dma_queue_lock);
>  		vpfe_video_process_buffer_complete(video_out);
>  		video_out->state = VPFE_VIDEO_BUFFER_NOT_QUEUED;
> @@ -1064,7 +1064,7 @@ static void resizer_ss_isr(struct vpfe_resizer_device
> *resizer)
> 
>  	/* If resizer B is enabled */
>  	if (pipe->output_num > 1 && resizer->resizer_b.output ==
> -	    RESIZER_OUPUT_MEMORY) {
> +	    RESIZER_OUTPUT_MEMORY) {
>  		spin_lock(&video_out->dma_queue_lock);
>  		vpfe_video_process_buffer_complete(video_out2);
>  		video_out2->state = VPFE_VIDEO_BUFFER_NOT_QUEUED;
> @@ -1074,7 +1074,7 @@ static void resizer_ss_isr(struct vpfe_resizer_device
> *resizer)
> 
>  	/* start HW if buffers are queued */
>  	if (vpfe_video_is_pipe_ready(pipe) &&
> -	    resizer->resizer_a.output == RESIZER_OUPUT_MEMORY) {
> +	    resizer->resizer_a.output == RESIZER_OUTPUT_MEMORY) {
>  		resizer_enable(resizer, 1);
>  		vpfe_ipipe_enable(vpfe_dev, 1);
>  		vpfe_ipipeif_enable(vpfe_dev);
> @@ -1242,8 +1242,8 @@ static int resizer_do_hw_setup(struct
> vpfe_resizer_device *resizer) struct resizer_params *param =
> &resizer->config;
>  	int ret = 0;
> 
> -	if (resizer->resizer_a.output == RESIZER_OUPUT_MEMORY ||
> -	    resizer->resizer_b.output == RESIZER_OUPUT_MEMORY) {
> +	if (resizer->resizer_a.output == RESIZER_OUTPUT_MEMORY ||
> +	    resizer->resizer_b.output == RESIZER_OUTPUT_MEMORY) {
>  		if (ipipeif_sink == IPIPEIF_INPUT_MEMORY &&
>  		    ipipeif_source == IPIPEIF_OUTPUT_RESIZER)
>  			ret = resizer_configure_in_single_shot_mode(resizer);
> @@ -1268,7 +1268,7 @@ static int resizer_set_stream(struct v4l2_subdev *sd,
> int enable) if (&resizer->crop_resizer.subdev != sd)
>  		return 0;
> 
> -	if (resizer->resizer_a.output != RESIZER_OUPUT_MEMORY)
> +	if (resizer->resizer_a.output != RESIZER_OUTPUT_MEMORY)
>  		return 0;
> 
>  	switch (enable) {
> @@ -1722,7 +1722,7 @@ static int resizer_link_setup(struct media_entity
> *entity, }
>  			if (resizer->resizer_a.output != RESIZER_OUTPUT_NONE)
>  				return -EBUSY;
> -			resizer->resizer_a.output = RESIZER_OUPUT_MEMORY;
> +			resizer->resizer_a.output = RESIZER_OUTPUT_MEMORY;
>  			break;
> 
>  		default:
> @@ -1747,7 +1747,7 @@ static int resizer_link_setup(struct media_entity
> *entity, }
>  			if (resizer->resizer_b.output != RESIZER_OUTPUT_NONE)
>  				return -EBUSY;
> -			resizer->resizer_b.output = RESIZER_OUPUT_MEMORY;
> +			resizer->resizer_b.output = RESIZER_OUTPUT_MEMORY;
>  			break;
> 
>  		default:
> diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.h
> b/drivers/staging/media/davinci_vpfe/dm365_resizer.h index 93b0f44..00e64b0
> 100644
> --- a/drivers/staging/media/davinci_vpfe/dm365_resizer.h
> +++ b/drivers/staging/media/davinci_vpfe/dm365_resizer.h
> @@ -210,7 +210,7 @@ enum resizer_input_entity {
> 
>  enum resizer_output_entity {
>  	RESIZER_OUTPUT_NONE = 0,
> -	RESIZER_OUPUT_MEMORY = 1,
> +	RESIZER_OUTPUT_MEMORY = 1,
>  };
> 
>  struct dm365_resizer_device {

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2016-11-22 19:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03  2:26 [PATCH] drivers: staging: media: davinci_vpfe: dm365_resizer: fixed some spelling mistakes Saatvik Arya
2016-11-22 19:18 ` Laurent Pinchart [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-13 11:37 Saatvik Arya
2016-01-01 16:08 Saatvik Arya
2016-01-01 18:09 ` Trevor Woerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5085070.7aCI71b85W@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=aryasaatvik@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@osg.samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).