projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32725e
)
[media] tda10071: fix returned symbol rate calculation
author
Antti Palosaari
<crope@iki.fi>
Tue, 8 Jul 2014 05:48:28 +0000
(
02:48
-0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Tue, 15 Jul 2014 00:03:59 +0000
(21:03 -0300)
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>
drivers/media/dvb-frontends/tda10071.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/tda10071.c
b/drivers/media/dvb-frontends/tda10071.c
index
d590798
..
9619be5
100644
(file)
--- a/
drivers/media/dvb-frontends/tda10071.c
+++ b/
drivers/media/dvb-frontends/tda10071.c
@@
-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: