static int em2880_mt352_demod_init(struct dvb_frontend *fe){ static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x28 }; static u8 reset [] = { RESET, 0x80 }; static u8 adc_ctl_1_cfg [] = { ADC_CTL_1, 0x40 }; static u8 agc_cfg [] = { AGC_TARGET, 0x28, 0x20 }; // copied from other driver static u8 gpp_ctl_cfg [] = { GPP_CTL, 0x33 }; // copied from other driver static u8 capt_range_cfg[] = { CAPT_RANGE, 0x32 }; // mrec had 0x33 -- we might have to change the 0x32 to 0x33 mt352_write(fe, clock_config, sizeof(clock_config)); udelay(200); mt352_write(fe, reset, sizeof(reset)); mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); mt352_write(fe, agc_cfg, sizeof(agc_cfg)); mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); return 0; }