summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Isely <devnull@localhost>2006-01-21 18:35:27 +0000
committerMike Isely <devnull@localhost>2006-01-21 18:35:27 +0000
commita9eb36aa2780b3c7e3363bb392c804a55ae07422 (patch)
tree388073db1d8e459d4526617c506615657233a51c
parenta121486eaa8a798064256cdba8174f913fe69b7b (diff)
downloadmediapointer-dvb-s2-a9eb36aa2780b3c7e3363bb392c804a55ae07422.tar.gz
mediapointer-dvb-s2-a9eb36aa2780b3c7e3363bb392c804a55ae07422.tar.bz2
Cause tda9887 to use I2C_DRIVERID_TDA9887
The tda9887 has an I2C id reserved for it, but it hasn't been using it. Probably an oversight. Fixed with this patch. From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
-rw-r--r--linux/drivers/media/video/tda9887.c2
-rw-r--r--v4l/ChangeLog9
2 files changed, 10 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index 01cacd11a..0afa96336 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -940,7 +940,7 @@ static struct i2c_driver driver = {
.name = "tda9887",
.flags = I2C_DF_NOTIFY,
#endif
- .id = -1, /* FIXME */
+ .id = I2C_DRIVERID_TDA9887,
.attach_adapter = tda9887_probe,
.detach_client = tda9887_detach,
.command = tda9887_command,
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 072bb5fc3..f89b55c47 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,12 @@
+2006-01-21 18:31 mcisely
+
+ * linux/drivers/media/video/tda9887.c:
+
+ - Fix tda9887.c to actually use its allocated ID
+ (I2C_DRIVERID_TDA9887).
+
+ Signed-off-by: Mike Isely <isely@pobox.com>
+
2006-01-21 17:29 mkrufky
* linux/drivers/media/video/cx88/Kconfig: