From: Sylwester Nawrocki <snjw23@gmail.com>
To: Sungchun Kang <sungchun.kang@samsung.com>
Cc: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
s.nawrocki@samsung.com, kgene.kim@samsung.com
Subject: Re: [PATCH] [media] s5p-fimc: fimc_stop_capture bug fix
Date: Thu, 30 Dec 2010 10:47:56 +0100 [thread overview]
Message-ID: <4D1C554C.2030201@gmail.com> (raw)
In-Reply-To: <1293687328-26239-1-git-send-email-sungchun.kang@samsung.com>
On 12/30/2010 06:35 AM, Sungchun Kang wrote:
> When is called fimc_stop_capture, it seems that wait_event_timeout
> used improperly. It should be wake up by irq handler.
>
> Reviewed-by Jonghun Han<jonghun.han@samsung.com>
> Signed-off-by: Sungchun Kang<sungchun.kang@samsung.com>
> ---
> This patch is depended on:
> http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/vb2-mfc-fimc
>
> drivers/media/video/s5p-fimc/fimc-capture.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c
> index 4e4441f..821f927 100644
> --- a/drivers/media/video/s5p-fimc/fimc-capture.c
> +++ b/drivers/media/video/s5p-fimc/fimc-capture.c
> @@ -187,7 +187,7 @@ static int fimc_stop_capture(struct fimc_dev *fimc)
> spin_unlock_irqrestore(&fimc->slock, flags);
>
> wait_event_timeout(fimc->irq_queue,
> - test_bit(ST_CAPT_SHUT,&fimc->state),
just wondering, how this one sneaked in...it looks like a need to take
a long holiday.. ;)
Starting from the new year I am going to setup a fixed branch
v4l/fimc-for-next at git://git.infradead.org/users/kmpark/linux-2.6-samsung
so there is a common up to date tree available.
Until then please base your work on
git://git.infradead.org/users/kmpark/linux-2.6-samsung vb2
I will apply this patch in the next week.
> + !test_bit(ST_CAPT_SHUT,&fimc->state),
> FIMC_SHUTDOWN_TIMEOUT);
>
> ret = v4l2_subdev_call(cap->sd, video, s_stream, 0);
Thanks,
Sylwester
prev parent reply other threads:[~2010-12-30 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 5:35 [PATCH] [media] s5p-fimc: fimc_stop_capture bug fix Sungchun Kang
2010-12-30 9:47 ` Sylwester Nawrocki [this message]
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=4D1C554C.2030201@gmail.com \
--to=snjw23@gmail.com \
--cc=kgene.kim@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=s.nawrocki@samsung.com \
--cc=sungchun.kang@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