All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Manu Abraham <abraham.manu@gmail.com>
Cc: Lutz Sammer <johns98@gmx.net>, linux-media@vger.kernel.org
Subject: Re: [PATCH v2] stb0899: Fix slow and not locking DVB-S transponder(s)
Date: Fri, 30 Sep 2011 15:58:43 -0300	[thread overview]
Message-ID: <4E861163.3000903@redhat.com> (raw)
In-Reply-To: <4E860D76.5040605@gmx.net>

Em 30-09-2011 15:41, Lutz Sammer escreveu:
> On 09/30/11 19:07, Mauro Carvalho Chehab wrote:
>> Em 29-09-2011 18:22, Lutz Sammer escreveu:
>>> Another version of
>>> http://patchwork.linuxtv.org/patch/6307
>>> http://patchwork.linuxtv.org/patch/6510
>>> which was superseded or rejected, but I don't know why.
>>
>> Probably because of the same reason of this patch [1]:
>>
>> patch -p1 -i patches/lmml_8023_v2_stb0899_fix_slow_and_not_locking_dvb_s_transponder_s.patch --dry-run -t -N
>> patching file drivers/media/dvb/frontends/stb0899_algo.c
>> Hunk #1 FAILED at 358.
>> 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb/frontends/stb0899_algo.c.rej
>>   drivers/media/dvb/frontends/stb0899_algo.c |    1 +
>>   1 file changed, 1 insertion(+)
>>
>> I'll mark this one as rejected, as it doesn't apply upstream[2].
>>
>> [1] http://patchwork.linuxtv.org/patch/8023/
>> [2] at tree/branch: git://linuxtv.org/media_tree.git staging/for_v3.2
>>
>> Please test if the changes made upstream to solve a similar trouble fixes your issue.
>> If not, please rebase your patch on the top of it and resend.
>>
>> Thanks,
>> Mauro
>>>
>>> In stb0899_status stb0899_check_data the first read of STB0899_VSTATUS
>>> could read old (from previous search) status bits and the search fails
>>> on a good frequency.
>>>
>>> With the patch more transponder could be locked and locks about 2* faster.

Manu,

Could you please review this one-line patch?


>>>
>>> Signed-off-by: Lutz Sammer<johns98@gmx.net>
>>> ---
>>>   drivers/media/dvb/frontends/stb0899_algo.c |    1 +
>>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/drivers/media/dvb/frontends/stb0899_algo.c b/drivers/media/dvb/frontends/stb0899_algo.c
>>> index d70eee0..8eca419 100644
>>> --- a/drivers/media/dvb/frontends/stb0899_algo.c
>>> +++ b/drivers/media/dvb/frontends/stb0899_algo.c
>>> @@ -358,6 +358,7 @@ static enum stb0899_status stb0899_check_data(struct stb0899_state *state)
>>>          else
>>>                  dataTime = 500;
>>>
>>> +       stb0899_read_reg(state, STB0899_VSTATUS); /* clear old status bits */
>>>          stb0899_write_reg(state, STB0899_DSTATUS2, 0x00); /* force search loop */
>>>          while (1) {
>>>                  /* WARNING! VIT LOCKED has to be tested before VIT_END_LOOOP   */


Thanks!
Mauro

>>
>>
> 
> Sorry this fucking thunderbird eats the patches. I have followed the README.patches and
> installed thunderbird plugin.

Yes, thunderbird hates patches ;)

> 
> Johns
> 
> 


  reply	other threads:[~2011-09-30 18:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 21:16 [PATCH] stb0899: Fix slow and not locking DVB-S transponder(s) Lutz Sammer
2011-09-29 21:22 ` [PATCH v2] " Lutz Sammer
2011-09-30 17:07   ` Mauro Carvalho Chehab
2011-09-30 18:41     ` Lutz Sammer
2011-09-30 18:58       ` Mauro Carvalho Chehab [this message]
2011-10-06 18:56         ` Manu Abraham
2011-10-07 17:01           ` Lutz Sammer
2011-10-07 18:20             ` Manu Abraham
2011-10-07 20:11               ` [PATCH v3] " Lutz Sammer
  -- strict thread matches above, loose matches on Subject: below --
2011-09-30 15:01 [PATCH v2] " Tuxoholic

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=4E861163.3000903@redhat.com \
    --to=mchehab@redhat.com \
    --cc=abraham.manu@gmail.com \
    --cc=johns98@gmx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.