OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7ef4b
)
[media] r820t: change read_gain() code to match register layout
author
Benjamin Larsson
<benjamin@southpole.se>
Sun, 15 Mar 2015 22:57:47 +0000
(19:57 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:50:57 +0000
(21:50 -0300)
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>
drivers/media/tuners/r820t.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/r820t.c
b/drivers/media/tuners/r820t.c
index
639c220
..
eaaf1dc
100644
(file)
--- 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)
if (rc < 0)
return rc;
- return ((data[3] & 0x0
f
) << 1) + ((data[3] & 0xf0) >> 4);
+ return ((data[3] & 0x0
8
) << 1) + ((data[3] & 0xf0) >> 4);
}
#if 0