public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hartmut Hackmann <hartmut.hackmann@t-online.de>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Michael Krufky <mkrufky@linuxtv.org>,
	Linux and Kernel Video <video4linux-list@redhat.com>,
	LInux DVB <linux-dvb@linuxtv.org>
Subject: Re: [RFC] TDA8290 / TDA827X with LNA: testers wanted
Date: Thu, 20 Mar 2008 02:23:59 +0100	[thread overview]
Message-ID: <47E1BCAF.80208@t-online.de> (raw)
In-Reply-To: <20080319193832.643bf8a0@gaivota>



Mauro Carvalho Chehab schrieb:
> On Wed, 19 Mar 2008 23:16:47 +0100
> Hartmut Hackmann <hartmut.hackmann@t-online.de> wrote:
> 
>> Hi, Mauro
>>
>> Mauro Carvalho Chehab schrieb:
>>> On Wed, 19 Mar 2008, Hartmut Hackmann wrote:
>>>
>>>> Mauro, what's your opinion on this? As far as i know, the broken code
>>>> is in the upcoming
>>>> kernel release. The patch is big, is there a chance to commit it to
>>>> the kernel?
>>> While some fixes are cosmetic (like __func__ change), and others are
>>> just function reordering, I suspect that the real changes are still too
>>> big for -rc6. It will probably be nacked.
>>>
>>> Yet, it may be worthy to try.
>> This was my opinion as well.
>> Did you notice Michaels reply on this issue? He pointed out that the problem
>> was introduced by this changeset:
>> http://linuxtv.org/hg/v4l-dvb/rev/ad6fb7fe6240 : Add support for xc3028-based boards
>>
>> If this did not go to Linus yet, we don't have a problem. This also explains
>> why we don't have bug reports on this.
> 
> It didn't reach mainstream yet. About the bug report, there's a related bug, on
> a thread about Avermedia A16D. The issue is that "dev" is NULL but this
> shouldn't happen (otherwise, all callbacks will fail).
> 
> On your patch, you're just returning, if dev=NULL, at saa7134 callback function. IMO, the correct would be to
> print an error message and return. Also, we should discover why dev is being
> null there (I'll try to identify here - the reason - yet, I can't really test,
> since the saa7134 boards I have don't need any callback.

That's not the point. In the call in tda827x.c tda827xa_lna_gain(), the argument
did not point to the saa7134_dev structure as the function expected. I added
the check for NULL because only at the very first call, the pointer is still
not valid. I did not check this carefully but i guess this is a matter of the
initilization sequence of the data structures. IMHO yes, we should understand this
sometime but this does not have priority because i am sure that the NULL pointer
occurs only during initialization.

>>> I still need to send a patchset to Linus, after testing compilation
>>> (unfortunately, I had to postpone, since I need first to free some
>>> hundreds of Mb on my HD on my /home, to allow kernel compilation).
>>> Hopefully, I'll have some time tomorrow for doing a "housekeeping".
>>>
>> Unfortunately, i deleted you mails describing what went to linux and i don't
>> have the RC source here :-(
> 
> You may take a look on master branch on my git tree. I'm about to forward him a
> series of patches. Hopefully, 2GB free space will be enough for a full kernel
> compilation. I'll discover soon...
> 
Jep. Meanwhile Michael confirmed that the problem is not in mainstream,
so there is no reason to hurry.
But we should have a bigger audience for my latest changes, so i will send
you a pull request in a minute.


Best regards
  Hartmut

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-03-20  1:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19  0:40 [RFC] TDA8290 / TDA827X with LNA: testers wanted Hartmut Hackmann
2008-03-19  0:54 ` Michael Krufky
2008-03-19  1:33   ` [linux-dvb] " Hartmut Hackmann
2008-03-19  4:20     ` Michael Krufky
2008-03-19 21:49       ` Hartmut Hackmann
2008-03-19 21:59         ` mkrufky
2008-03-19 21:59         ` mkrufky
2008-03-19  4:25 ` Mauro Carvalho Chehab
2008-03-19 22:16   ` Hartmut Hackmann
2008-03-19 22:38     ` Mauro Carvalho Chehab
2008-03-20  1:23       ` Hartmut Hackmann [this message]
2008-03-20  1:42         ` Mauro Carvalho Chehab
2008-03-20 20:41           ` Hartmut Hackmann
2008-03-21 11:21             ` Mauro Carvalho Chehab
2008-03-27  0:14               ` Hartmut Hackmann
2008-03-27  1:04                 ` Mauro Carvalho Chehab
2008-03-19  9:50 ` [linux-dvb] " Ian Haywood
2008-03-19 21:34   ` hermann pitton
2008-03-20 10:34     ` [linux-dvb] Kworld 220RF not tuning Ian Haywood

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=47E1BCAF.80208@t-online.de \
    --to=hartmut.hackmann@t-online.de \
    --cc=linux-dvb@linuxtv.org \
    --cc=mchehab@infradead.org \
    --cc=mkrufky@linuxtv.org \
    --cc=video4linux-list@redhat.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