diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-01-09 12:25:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:42 -0500 |
commit | f9a91f08990b0353fc1251ee72ec42c6ea33bd24 (patch) | |
tree | 3ce01215bde69cd9f2154ffccc7531925643bb56 /drivers/media/video/tea5767.c | |
parent | a8bbf12ad8a8ad532cea0b67f0127ad90d336b04 (diff) |
V4L/DVB (3250): tea5767: move signal strength level to the 0-65535 range
- Move signal strength level to the 0-65535 range as per V4L2 spec.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/tea5767.c')
-rw-r--r-- | drivers/media/video/tea5767.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tea5767.c b/drivers/media/video/tea5767.c index a9375ef05de1..4647db66ba68 100644 --- a/drivers/media/video/tea5767.c +++ b/drivers/media/video/tea5767.c | |||
@@ -264,7 +264,7 @@ static int tea5767_signal(struct i2c_client *c) | |||
264 | if (5 != (rc = i2c_master_recv(c, buffer, 5))) | 264 | if (5 != (rc = i2c_master_recv(c, buffer, 5))) |
265 | tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc); | 265 | tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc); |
266 | 266 | ||
267 | return ((buffer[3] & TEA5767_ADC_LEVEL_MASK) << (13 - 4)); | 267 | return ((buffer[3] & TEA5767_ADC_LEVEL_MASK) << 8); |
268 | } | 268 | } |
269 | 269 | ||
270 | static int tea5767_stereo(struct i2c_client *c) | 270 | static int tea5767_stereo(struct i2c_client *c) |