diff options
Diffstat (limited to 'drivers/media/dvb/frontends/dib3000mc.c')
-rw-r--r-- | drivers/media/dvb/frontends/dib3000mc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c index 0b051c7d5cd7..ccc813b525d6 100644 --- a/drivers/media/dvb/frontends/dib3000mc.c +++ b/drivers/media/dvb/frontends/dib3000mc.c | |||
@@ -312,10 +312,10 @@ static int dib3000mc_init(struct dvb_frontend *demod) | |||
312 | dib3000mc_write_word(state, 175, 0x0000); | 312 | dib3000mc_write_word(state, 175, 0x0000); |
313 | dib3000mc_write_word(state, 1032, 0x012C); | 313 | dib3000mc_write_word(state, 1032, 0x012C); |
314 | } | 314 | } |
315 | dib3000mc_write_word(state, 1033, 0); | 315 | dib3000mc_write_word(state, 1033, 0x0000); |
316 | 316 | ||
317 | // P_clk_cfg | 317 | // P_clk_cfg |
318 | dib3000mc_write_word(state, 1037, 12592); | 318 | dib3000mc_write_word(state, 1037, 0x3130); |
319 | 319 | ||
320 | // other configurations | 320 | // other configurations |
321 | 321 | ||
@@ -412,10 +412,9 @@ static int dib3000mc_sleep(struct dvb_frontend *demod) | |||
412 | { | 412 | { |
413 | struct dib3000mc_state *state = demod->demodulator_priv; | 413 | struct dib3000mc_state *state = demod->demodulator_priv; |
414 | 414 | ||
415 | dib3000mc_write_word(state, 1037, dib3000mc_read_word(state, 1037) | 0x0003); | ||
416 | dib3000mc_write_word(state, 1031, 0xFFFF); | 415 | dib3000mc_write_word(state, 1031, 0xFFFF); |
417 | dib3000mc_write_word(state, 1032, 0xFFFF); | 416 | dib3000mc_write_word(state, 1032, 0xFFFF); |
418 | dib3000mc_write_word(state, 1033, 0xFFF4); // **** Bin2 | 417 | dib3000mc_write_word(state, 1033, 0xFFF0); |
419 | 418 | ||
420 | return 0; | 419 | return 0; |
421 | } | 420 | } |
@@ -828,6 +827,8 @@ struct dvb_frontend * dib3000mc_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr | |||
828 | 827 | ||
829 | dibx000_init_i2c_master(&st->i2c_master, DIB3000MC, st->i2c_adap, st->i2c_addr); | 828 | dibx000_init_i2c_master(&st->i2c_master, DIB3000MC, st->i2c_adap, st->i2c_addr); |
830 | 829 | ||
830 | dib3000mc_write_word(st, 1037, 0x3130); | ||
831 | |||
831 | return demod; | 832 | return demod; |
832 | 833 | ||
833 | error: | 834 | error: |