diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-01 23:15:16 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-04 23:33:20 +0400 |
commit | dad78c56620d425eede52d74e8ba73ea136703dd (patch) | |
tree | 8fb4201260c665a3e8b94053e5d54fc79f813367 /drivers/media/dvb-frontends | |
parent | 15b1c5a068e710bd4d9c8d76e8ed8c63aa4bff2b (diff) | |
download | linux-dad78c56620d425eede52d74e8ba73ea136703dd.tar.xz |
[media] mb86a20s: Fix signal strength calculus
A register typo made the calculation to not work. Fix it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/mb86a20s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index 2720b828d89e..0fbfae23d904 100644 --- a/drivers/media/dvb-frontends/mb86a20s.c +++ b/drivers/media/dvb-frontends/mb86a20s.c @@ -335,7 +335,7 @@ static int mb86a20s_read_signal_strength(struct dvb_frontend *fe) rc = mb86a20s_writereg(state, 0x04, 0x20); if (rc < 0) return rc; - rc = mb86a20s_writereg(state, 0x04, rf); + rc = mb86a20s_writereg(state, 0x05, rf); if (rc < 0) return rc; |