public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Manu Abraham <abraham.manu@gmail.com>
Cc: Hans Petter Selasky <hselasky@c2i.net>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: [PATCH] Increase a timeout, so that bad scheduling does not accidentially cause a timeout.
Date: Wed, 01 Jun 2011 17:11:05 -0300	[thread overview]
Message-ID: <4DE69CD9.60304@redhat.com> (raw)
In-Reply-To: <201105231622.30789.hselasky@c2i.net>

Manu,

Another patch for your review.

Cheers,
Mauro

Em 23-05-2011 11:22, Hans Petter Selasky escreveu:
> --HPS
> 
> 
> dvb-usb-0015.patch
> 
> 
> From 18faaafc9cbbe478bb49023bbeae490149048560 Mon Sep 17 00:00:00 2001
> From: Hans Petter Selasky <hselasky@c2i.net>
> Date: Mon, 23 May 2011 16:21:47 +0200
> Subject: [PATCH] Increase a timeout, so that bad scheduling does not accidentially cause a timeout.
> 
> Signed-off-by: Hans Petter Selasky <hselasky@c2i.net>
> ---
>  drivers/media/dvb/frontends/stb0899_drv.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
> index 37a222d..ddb9141 100644
> --- a/drivers/media/dvb/frontends/stb0899_drv.c
> +++ b/drivers/media/dvb/frontends/stb0899_drv.c
> @@ -706,7 +706,7 @@ static int stb0899_send_diseqc_msg(struct dvb_frontend *fe, struct dvb_diseqc_ma
>  	stb0899_write_reg(state, STB0899_DISCNTRL1, reg);
>  	for (i = 0; i < cmd->msg_len; i++) {
>  		/* wait for FIFO empty	*/
> -		if (stb0899_wait_diseqc_fifo_empty(state, 10) < 0)
> +		if (stb0899_wait_diseqc_fifo_empty(state, 100) < 0)
>  			return -ETIMEDOUT;
>  
>  		stb0899_write_reg(state, STB0899_DISFIFO, cmd->msg[i]);
> -- 1.7.1.1


      reply	other threads:[~2011-06-01 20:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 14:22 [PATCH] Increase a timeout, so that bad scheduling does not accidentially cause a timeout Hans Petter Selasky
2011-06-01 20:11 ` Mauro Carvalho Chehab [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=4DE69CD9.60304@redhat.com \
    --to=mchehab@redhat.com \
    --cc=abraham.manu@gmail.com \
    --cc=hselasky@c2i.net \
    --cc=linux-media@vger.kernel.org \
    /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