public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Kamil Debski <k.debski@samsung.com>
To: 'Nicolas Dufresne' <nicolas.dufresne@collabora.com>,
	linux-media@vger.kernel.org
Cc: 'Arun Kumar K' <arun.kk@samsung.com>
Subject: RE: [PATCH 2/3] s5p-mfc-dec: Don't use encoder stop command
Date: Thu, 08 Jan 2015 13:50:58 +0100	[thread overview]
Message-ID: <009901d02b41$c0343560$409ca020$%debski@samsung.com> (raw)
In-Reply-To: <1418677859-31440-3-git-send-email-nicolas.dufresne@collabora.com>

> -----Original Message-----
> From: Nicolas Dufresne [mailto:nicolas.dufresne@collabora.com]
> Sent: Monday, December 15, 2014 10:11 PM
> To: linux-media@vger.kernel.org
> Cc: Kamil Debski; Arun Kumar K; Nicolas Dufresne
> Subject: [PATCH 2/3] s5p-mfc-dec: Don't use encoder stop command
> 
> The decoder should handle V4L2_DEC_CMD_STOP to trigger drain, but it
> currently expecting V4L2_ENC_CMD_STOP.
> 
> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>

Acked-by: Kamil Debski <k.debski@samsung.com>

> ---
>  drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
> b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
> index 99e2e84..98304fc 100644
> --- a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
> +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
> @@ -816,7 +816,7 @@ static int vidioc_decoder_cmd(struct file *file,
> void *priv,
>  	unsigned long flags;
> 
>  	switch (cmd->cmd) {
> -	case V4L2_ENC_CMD_STOP:
> +	case V4L2_DEC_CMD_STOP:
>  		if (cmd->flags != 0)
>  			return -EINVAL;
> 
> --
> 2.1.0


  reply	other threads:[~2015-01-08 12:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 21:10 [PATCH 0/3] Various fixes for s5p-mfc driver Nicolas Dufresne
2014-12-15 21:10 ` [PATCH 1/3] s5p-mfc-v6+: Use display_delay_enable CID Nicolas Dufresne
2015-01-08 12:50   ` Kamil Debski
2014-12-15 21:10 ` [PATCH 2/3] s5p-mfc-dec: Don't use encoder stop command Nicolas Dufresne
2015-01-08 12:50   ` Kamil Debski [this message]
2014-12-15 21:10 ` [PATCH 3/3] media-doc: Fix MFC display delay control doc Nicolas Dufresne
2015-01-08 12:51   ` Kamil Debski
2015-01-07 23:15 ` [PATCH 0/3] Various fixes for s5p-mfc driver Nicolas Dufresne
2015-01-08 12:51   ` Kamil Debski
2015-01-08 13:51     ` Nicolas Dufresne

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='009901d02b41$c0343560$409ca020$%debski@samsung.com' \
    --to=k.debski@samsung.com \
    --cc=arun.kk@samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas.dufresne@collabora.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