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:
f0e72c2
)
media: dvb-frontends/stv0910: fix mask for scramblingcode setup
author
Daniel Scheller
<
[email protected]
>
Sun, 20 Aug 2017 10:29:15 +0000
(06:29 -0400)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 20 Aug 2017 11:29:54 +0000
(07:29 -0400)
The scrambling code has 4 bits. Fix the mask accordingly.
Signed-off-by: Daniel Scheller <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb-frontends/stv0910.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/stv0910.c
b/drivers/media/dvb-frontends/stv0910.c
index e87a3ee6155c49d63e5a9e7b5dbd5fcd7034d320..d0a8ed36b899a6e27a1cf3066574dc473e49aefb 100644
(file)
--- a/
drivers/media/dvb-frontends/stv0910.c
+++ b/
drivers/media/dvb-frontends/stv0910.c
@@
-1021,7
+1021,7
@@
static int start(struct stv *state, struct dtv_frontend_properties *p)
write_reg(state, RSTV0910_P2_PLROOT1 + state->regoff,
(scrambling_code >> 8) & 0xff);
write_reg(state, RSTV0910_P2_PLROOT2 + state->regoff,
- (scrambling_code >> 16) & 0x0
7
);
+ (scrambling_code >> 16) & 0x0
f
);
state->cur_scrambling_code = scrambling_code;
}