From: Mauro Carvalho Chehab Date: Fri, 1 Mar 2013 19:15:16 +0000 (-0300) Subject: [media] mb86a20s: Fix signal strength calculus X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dad78c56620d425eede52d74e8ba73ea136703dd;p=linux-beck.git [media] mb86a20s: Fix signal strength calculus A register typo made the calculation to not work. Fix it. Signed-off-by: Mauro Carvalho Chehab --- 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;