Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357229
b: refs/heads/master
c: f8c30b6
h: refs/heads/master
i:
  357227: 09d0837
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 27, 2012
1 parent b8579d9 commit 5888ce9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73f0af44a9137cc2ab18e181f68f59d2ad3fe3f7
refs/heads/master: f8c30b6f3bbea7eb8b25db7df61f8a7c24072480
6 changes: 2 additions & 4 deletions trunk/drivers/media/dvb-frontends/ts2020.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static int ts2020_set_params(struct dvb_frontend *fe)
{
struct dtv_frontend_properties *c = &fe->dtv_property_cache;

u8 mlpf, mlpf_new, mlpf_max, mlpf_min, nlpf, div4;
u8 mlpf, mlpf_new, mlpf_max, mlpf_min, nlpf;
u16 value, ndiv;
u32 srate = 0, f3db;

Expand All @@ -135,12 +135,10 @@ static int ts2020_set_params(struct dvb_frontend *fe)
ts2020_writereg(fe, 0x60, 0x79);
ts2020_writereg(fe, 0x08, 0x01);
ts2020_writereg(fe, 0x00, 0x01);
div4 = 0;

/* calculate and set freq divider */
if (c->frequency < 1146000) {
ts2020_writereg(fe, 0x10, 0x11);
div4 = 1;
ndiv = ((c->frequency * (6 + 8) * 4) +
(TS2020_XTAL_FREQ / 2)) /
TS2020_XTAL_FREQ - 1024;
Expand Down Expand Up @@ -259,7 +257,7 @@ static int ts2020_release(struct dvb_frontend *fe)
return 0;
}

int ts2020_get_signal_strength(struct dvb_frontend *fe,
static int ts2020_get_signal_strength(struct dvb_frontend *fe,
u16 *signal_strength)
{
u16 sig_reading, sig_strength;
Expand Down

0 comments on commit 5888ce9

Please sign in to comment.