diff options
author | Benjamin Larsson <benjamin@southpole.se> | 2015-03-15 18:57:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 20:50:57 -0400 |
commit | b91bfcda45a984288f5977b3574aca56eee6f2e4 (patch) | |
tree | d3fee7c02fb6d4d0c04c6d995a1e9d5cbad4e5c6 /drivers/media/tuners | |
parent | 7b7ef4b4a5997229a42c02435e1775623e4ab379 (diff) |
[media] r820t: change read_gain() code to match register layout
Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r-- | drivers/media/tuners/r820t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 639c22061dbd..eaaf1dc9dfa8 100644 --- a/drivers/media/tuners/r820t.c +++ b/drivers/media/tuners/r820t.c | |||
@@ -1199,7 +1199,7 @@ static int r820t_read_gain(struct r820t_priv *priv) | |||
1199 | if (rc < 0) | 1199 | if (rc < 0) |
1200 | return rc; | 1200 | return rc; |
1201 | 1201 | ||
1202 | return ((data[3] & 0x0f) << 1) + ((data[3] & 0xf0) >> 4); | 1202 | return ((data[3] & 0x08) << 1) + ((data[3] & 0xf0) >> 4); |
1203 | } | 1203 | } |
1204 | 1204 | ||
1205 | #if 0 | 1205 | #if 0 |