From: Antti Palosaari <crope@iki.fi>
To: Matthias Schwarzott <zzam@gentoo.org>, linux-media@vger.kernel.org
Cc: xpert-reactos@gmx.de
Subject: Re: [PATCH 1/3] si2165: Add demod driver for DVB-T only
Date: Tue, 01 Jul 2014 22:07:09 +0300 [thread overview]
Message-ID: <53B306DD.6060204@iki.fi> (raw)
In-Reply-To: <53B3056D.9020102@gentoo.org>
Moikka Matthias!
On 07/01/2014 10:01 PM, Matthias Schwarzott wrote:
> On 17.05.2014 04:14, Antti Palosaari wrote:
>> That driver could be a little bit modern in a following ways:
>> 1) dynamic debugs
>> 2) I2C client driver model
>> 3) RegMap API
>> 4) I2C mux adapter for tuner I2C bus / gate
>>
>> Maybe 30% less LOC.
>>
>> regards
>> Antti
>
> I hope to reduce LOC by using register data tables instead of long
> chains of register writes. But mixing 8 bits and larger writes makes
> this complicated.
> 1) I could also write the larger registers byte by byte -> bad performance.
> 2) store them byte by byte and let the register array write function
> collect them.
> 3) store them together with a size indicator -> wasted space when always
> reserving 32bits for the value and normally using only 8bits.
>
> I will send the next version later.
Just send your current driver out and improve it later in order to go
ahead. There is many devices waiting that driver... :D
regards
Antti
--
http://palosaari.fi/
prev parent reply other threads:[~2014-07-01 19:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-26 20:21 [PATCH 1/3] si2165: Add demod driver for DVB-T only Matthias Schwarzott
2014-04-26 20:21 ` [PATCH 2/3] cx231xx: Add [2040:b130] Hauppauge WinTV 930C-hd 1113xx Matthias Schwarzott
2014-04-26 20:21 ` [PATCH 3/3] cx23885: Add si2165 support for HVR-5500 Matthias Schwarzott
2014-05-17 2:14 ` [PATCH 1/3] si2165: Add demod driver for DVB-T only Antti Palosaari
2014-07-01 19:01 ` Matthias Schwarzott
2014-07-01 19:07 ` Antti Palosaari [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=53B306DD.6060204@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=xpert-reactos@gmx.de \
--cc=zzam@gentoo.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.