mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
[media] tda10071: fix returned symbol rate calculation
Detected symbol rate value was returned too small. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
b32725e84c
commit
c2c1a6e585
@ -860,7 +860,7 @@ static int tda10071_get_frontend(struct dvb_frontend *fe)
|
||||
if (ret)
|
||||
goto error;
|
||||
|
||||
c->symbol_rate = (buf[0] << 16) | (buf[1] << 8) | (buf[2] << 0);
|
||||
c->symbol_rate = ((buf[0] << 16) | (buf[1] << 8) | (buf[2] << 0)) * 1000;
|
||||
|
||||
return ret;
|
||||
error:
|
||||
|
Loading…
Reference in New Issue
Block a user