summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/video/tea5767.c4
-rw-r--r--v4l/ChangeLog8
2 files changed, 10 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c
index f4cadd2b4..a32f8dfe0 100644
--- a/linux/drivers/media/video/tea5767.c
+++ b/linux/drivers/media/video/tea5767.c
@@ -2,7 +2,7 @@
* For Philips TEA5767 FM Chip used on some TV Cards like Prolink Pixelview
* I2C address is allways 0xC0.
*
- * $Id: tea5767.c,v 1.32 2005/12/25 19:06:18 mkrufky Exp $
+ * $Id: tea5767.c,v 1.33 2005/12/28 14:56:39 hverkuil Exp $
*
* Copyright (c) 2005 Mauro Carvalho Chehab (mchehab@brturbo.com.br)
* This code is placed under the terms of the GNU General Public License
@@ -269,7 +269,7 @@ static int tea5767_signal(struct i2c_client *c)
if (5 != (rc = i2c_master_recv(c, buffer, 5)))
tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc);
- return ((buffer[3] & TEA5767_ADC_LEVEL_MASK) << (13 - 4));
+ return ((buffer[3] & TEA5767_ADC_LEVEL_MASK) << 8);
}
static int tea5767_stereo(struct i2c_client *c)
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index b117b29a6..d3b26b09d 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,11 @@
+2005-12-28 14:55 hverkuil
+
+ * linux/drivers/media/video/tea5767.c: (tea5767_signal):
+ - Move signal strength level to the 0-65535 range as per
+ V4L2 spec.
+
+ Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
+
2005-12-28 14:41 hverkuil
* linux/drivers/media/video/cx25840/cx25840-audio.c: