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:
ceb59cf
)
V4L/DVB (13974): [STV090x] Fix locking reliabilty issues in automatic mode.
author
Andreas Regel
<
[email protected]
>
Tue, 5 Jan 2010 22:18:52 +0000
(19:18 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 26 Feb 2010 18:10:36 +0000
(15:10 -0300)
In automatic S/S2 detection mode, locking of a DVB-S transponder could
fail when coming from a DVB-S2 transponder. This change fixes the issue
by first disabling DVB-S and DVB-S2 mode before enabling it again.
Signed-off-by: Andreas Regel <
[email protected]
>
Signed-off-by: Manu Abraham <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/frontends/stv090x.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/stv090x.c
b/drivers/media/dvb/frontends/stv090x.c
index 1573466a5c740aa544b4a68e863722f1791f1892..e57581d14ccbe315a17c3902b943f55cfd4e7645 100644
(file)
--- a/
drivers/media/dvb/frontends/stv090x.c
+++ b/
drivers/media/dvb/frontends/stv090x.c
@@
-1246,6
+1246,10
@@
static int stv090x_delivery_search(struct stv090x_state *state)
default:
/* enable DVB-S2 and DVB-S2 in Auto MODE */
reg = STV090x_READ_DEMOD(state, DMDCFGMD);
+ STV090x_SETFIELD_Px(reg, DVBS1_ENABLE_FIELD, 0);
+ STV090x_SETFIELD_Px(reg, DVBS2_ENABLE_FIELD, 0);
+ if (STV090x_WRITE_DEMOD(state, DMDCFGMD, reg) < 0)
+ goto err;
STV090x_SETFIELD_Px(reg, DVBS1_ENABLE_FIELD, 1);
STV090x_SETFIELD_Px(reg, DVBS2_ENABLE_FIELD, 1);
if (STV090x_WRITE_DEMOD(state, DMDCFGMD, reg) < 0)