From: Antti Palosaari <crope@iki.fi>
To: Nikola Pajkovsky <npajkovs@redhat.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] V4L/DVB: New NXP tda18218 tuner
Date: Fri, 28 May 2010 21:25:26 +0300 [thread overview]
Message-ID: <4C000A96.3010308@iki.fi> (raw)
In-Reply-To: <1274349174-3961-1-git-send-email-npajkovs@redhat.com>
Terve,
On 05/20/2010 12:52 PM, Nikola Pajkovsky wrote:
> Signed-off-by: Nikola Pajkovsky<npajkovs@redhat.com>
> ---
> drivers/media/common/tuners/Kconfig | 7 +
> drivers/media/common/tuners/Makefile | 1 +
> drivers/media/common/tuners/tda18218.c | 432 +++++++++++++++++++++++++++
> drivers/media/common/tuners/tda18218.h | 44 +++
> drivers/media/common/tuners/tda18218_priv.h | 36 +++
> drivers/media/dvb/dvb-usb/af9015.c | 13 +-
> drivers/media/dvb/frontends/af9013.c | 15 +
> drivers/media/dvb/frontends/af9013_priv.h | 5 +-
> 8 files changed, 548 insertions(+), 5 deletions(-)
> create mode 100644 drivers/media/common/tuners/tda18218.c
> create mode 100644 drivers/media/common/tuners/tda18218.h
> create mode 100644 drivers/media/common/tuners/tda18218_priv.h
tda18218_write_reg() could use tda18218_write_regs()
tda18218_set_params() correct frequency limits. No need to check both
upper and lower limit.
printk(KERN_INFO "We've got a lock!");
it does not sounds good idea to print INFO when lock
while(i < 10) {
use for loop insted. Two rows less code.
tda18218_init()
why return -EREMOTEIO; ?
tda18218_attach()
printk(KERN_WARNING "Device is not a TDA18218!\n");
we should fail without noise since many times tuner attach is used for
probe correct tuner
A lot of error checkings are missing when reg write / read
checkpatch returns a lot of warnings and for errors too almost every
file changed
Is that checked TDA18218 uses same demod settings as TDA18271?
And the biggest problem is that driver author Lauris haven't replied any
mails...
regards
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2010-05-28 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-20 9:52 [PATCH] V4L/DVB: New NXP tda18218 tuner Nikola Pajkovsky
2010-05-28 18:25 ` Antti Palosaari [this message]
[not found] ` <AANLkTinFIakra2JzIiI74qEZBO_D2bqgp8T55R_Df9rc@mail.gmail.com>
[not found] ` <4C013BBF.3080509@gmx.de>
2010-05-30 0:22 ` Fwd: " Bee Hock Goh
2010-06-18 3:26 ` Bee Hock Goh
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=4C000A96.3010308@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=npajkovs@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 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.