diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2012-01-10 23:45:31 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-11 02:44:05 +0100 |
commit | 9544e8a64795d75875ff4c680a43aa452a37b260 (patch) | |
tree | 92e67acd80f8f4f29dec3eb9680b8c7bfd530fdb /drivers | |
parent | [media] cx23885: Query the CX25840 during enum_input for status (diff) | |
download | linux-9544e8a64795d75875ff4c680a43aa452a37b260.tar.xz linux-9544e8a64795d75875ff4c680a43aa452a37b260.zip |
[media] [BUG] it913x-fe fix typo error making SNR levels unstable
Fix error where SNR unstable and jumps levels.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/it913x-fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/it913x-fe.c b/drivers/media/dvb/frontends/it913x-fe.c index 7290801eac63..ccc36bf2deb4 100644 --- a/drivers/media/dvb/frontends/it913x-fe.c +++ b/drivers/media/dvb/frontends/it913x-fe.c @@ -525,7 +525,7 @@ static int it913x_fe_read_snr(struct dvb_frontend *fe, u16 *snr) ret = it913x_read_reg(state, 0x2c, reg, sizeof(reg)); - snr_val = (u32)(reg[2] << 16) | (reg[1] < 8) | reg[0]; + snr_val = (u32)(reg[2] << 16) | (reg[1] << 8) | reg[0]; ret |= it913x_read_reg(state, 0xf78b, reg, 1); if (reg[0]) |