summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-12-11 15:06:00 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 12:27:09 +0100
commit4a4bc5e4f976bf00ae3c96b57a5bcead72ade5ea (patch)
tree825d3aa8c4b5fd20c4acd45bb5e8060033a15e61 /drivers/media
parentV4L/DVB (13630): Print bitrate measured by stv0900 demod in stv0900_read_status (diff)
downloadlinux-4a4bc5e4f976bf00ae3c96b57a5bcead72ade5ea.tar.xz
linux-4a4bc5e4f976bf00ae3c96b57a5bcead72ade5ea.zip
V4L/DVB (13642): tw9910: The driver can also handle revision 1 of the chip
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/tw9910.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c
index 269ab044072a..7bf90a29daee 100644
--- a/drivers/media/video/tw9910.c
+++ b/drivers/media/video/tw9910.c
@@ -883,11 +883,12 @@ static int tw9910_video_probe(struct soc_camera_device *icd,
/*
* check and show Product ID
+ * So far only revisions 0 and 1 have been seen
*/
val = i2c_smbus_read_byte_data(client, ID);
if (0x0B != GET_ID(val) ||
- 0x00 != GET_ReV(val)) {
+ 0x01 < GET_ReV(val)) {
dev_err(&client->dev,
"Product ID error %x:%x\n", GET_ID(val), GET_ReV(val));
return -ENODEV;