diff options
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c index 4da0f150c6e2..47075fc71f11 100644 --- a/drivers/media/radio/si470x/radio-si470x-common.c +++ b/drivers/media/radio/si470x/radio-si470x-common.c | |||
@@ -724,7 +724,7 @@ static int si470x_vidioc_g_tuner(struct file *file, void *priv, | |||
724 | tuner->audmode = V4L2_TUNER_MODE_MONO; | 724 | tuner->audmode = V4L2_TUNER_MODE_MONO; |
725 | 725 | ||
726 | /* min is worst, max is best; signal:0..0xffff; rssi: 0..0xff */ | 726 | /* min is worst, max is best; signal:0..0xffff; rssi: 0..0xff */ |
727 | /* measured in units of db쨉V in 1 db increments (max at ~75 db쨉V) */ | 727 | /* measured in units of dbµV in 1 db increments (max at ~75 dbµV) */ |
728 | tuner->signal = (radio->registers[STATUSRSSI] & STATUSRSSI_RSSI); | 728 | tuner->signal = (radio->registers[STATUSRSSI] & STATUSRSSI_RSSI); |
729 | /* the ideal factor is 0xffff/75 = 873,8 */ | 729 | /* the ideal factor is 0xffff/75 = 873,8 */ |
730 | tuner->signal = (tuner->signal * 873) + (8 * tuner->signal / 10); | 730 | tuner->signal = (tuner->signal * 873) + (8 * tuner->signal / 10); |