projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f265889
)
[media] r820t: put it into automatic gain mode
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 11 Apr 2013 18:55:27 +0000
(15:55 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 17 Apr 2013 00:39:11 +0000
(21:39 -0300)
Currently, it is putting it on manual mode.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
drivers/media/tuners/r820t.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/r820t.c
b/drivers/media/tuners/r820t.c
index c644e90a5907174be673a1a3fdb7ad184b151d95..e63ee9443fa6bf2538ce2db04d42ce883193a528 100644
(file)
--- a/
drivers/media/tuners/r820t.c
+++ b/
drivers/media/tuners/r820t.c
@@
-1216,12
+1216,12
@@
static int r820t_set_gain_mode(struct r820t_priv *priv,
return rc;
} else {
/* LNA */
- rc = r820t_write_reg_mask(priv, 0x05, 0, 0x
ef
);
+ rc = r820t_write_reg_mask(priv, 0x05, 0, 0x
10
);
if (rc < 0)
return rc;
/* Mixer */
- rc = r820t_write_reg_mask(priv, 0x07, 0x10, 0x
ef
);
+ rc = r820t_write_reg_mask(priv, 0x07, 0x10, 0x
10
);
if (rc < 0)
return rc;
@@
-1261,7
+1261,7
@@
static int generic_set_freq(struct dvb_frontend *fe,
if (rc < 0)
goto err;
- rc = r820t_set_gain_mode(priv,
tru
e, 0);
+ rc = r820t_set_gain_mode(priv,
fals
e, 0);
if (rc < 0)
goto err;