]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (6126): tuner: add warning for obsolete i2c address range 0x64 thru 0x6f
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 28 Aug 2007 20:20:42 +0000 (17:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:07:30 +0000 (22:07 -0300)
commit293197cd0f34eb6bfb5492a63a878575b69e9df4
treea83dcc74fe1b507918ab38a32581c8b562506171
parentb930e1d851c3ffbf82127bd0e4d72ffe94d4b7f2
V4L/DVB (6126): tuner: add warning for obsolete i2c address range 0x64 thru 0x6f

The tuner module has a rather aggressive range of possible i2c addresses.

As per the specs available, it appears as if there are no 4-byte tuners that
actually use i2c addresses in the range 0x64 thru 0x6f, yet, tuner-core claims
the address range 0x60 thru 0x6f.

Allowing tuner.ko to probe these addresses can cause potential damage to
certain IR receivers, RTC chips or any other IC's that might otherwise reside
on the i2c bus using one of these addresses.

The plan is to remove these i2c addresses from the i2c address range of the
tuner module. If any devices are discovered that actually do have tuners at
one of these addresses, the newer i2c probing methods will be used to handle
those cases.

In order to collect this information and avoid any potential regressions,
the following warning has been added upon successful detection of a tuner
using an i2c address in the range 0x64 thru 0x6f:

====================== WARNING! ======================
Support for tuners in i2c address range 0x64 thru 0x6f
will soon be dropped. This message indicates that your
hardware has a {tuner name} tuner at i2c address {addr}.
To ensure continued support for your device, please
send a copy of this message, along with full dmesg
output to v4l-dvb-maintainer@linuxtv.org
Please use subject line: "obsolete tuner i2c address."
====================== WARNING! ======================

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-core.c