diff options
author | Antti Palosaari <crope@iki.fi> | 2014-07-08 01:48:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-14 20:03:59 -0400 |
commit | c2c1a6e5851fe354d39e5b7907c6c9d0a997ec16 (patch) | |
tree | ecc6e2768588ecd3e057bbedb00d439bcc8bc3ec /drivers/media | |
parent | b32725e84c02b4d01472770b96d1b33737b23b6d (diff) |
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb-frontends/tda10071.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c index d590798a6367..9619be5d4827 100644 --- 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) | |||
860 | if (ret) | 860 | if (ret) |
861 | goto error; | 861 | goto error; |
862 | 862 | ||
863 | c->symbol_rate = (buf[0] << 16) | (buf[1] << 8) | (buf[2] << 0); | 863 | c->symbol_rate = ((buf[0] << 16) | (buf[1] << 8) | (buf[2] << 0)) * 1000; |
864 | 864 | ||
865 | return ret; | 865 | return ret; |
866 | error: | 866 | error: |