} 
static int dst_set_voltage(struct dvb_frontend* fe, fe_sec_voltage_t voltage){	u8 *val;	int need_cmd;	struct dst_state* state = (struct dst_state*) fe->demodulator_priv;	state->voltage = voltage;	if (state->dst_type == DST_TYPE_IS_TERR)		return 0;	need_cmd = 0;	val = &state->tx_tuna[0];	val[8] &= ~0x40;	switch (voltage) {	case SEC_VOLTAGE_13:		if ((state->diseq_flags & HAS_POWER) == 0)			need_cmd = 1;		state->diseq_flags |= HAS_POWER;		break;	case SEC_VOLTAGE_18:		if ((state->diseq_flags & HAS_POWER) == 0)			need_cmd = 1;		state->diseq_flags |= HAS_POWER;		val[8] |= 0x40;		break;	case SEC_VOLTAGE_OFF:		need_cmd = 1;		state->diseq_flags &= ~(HAS_POWER | HAS_LOCK | ATTEMPT_TUNE);		break;	default:		return -EINVAL;	}	if (need_cmd) {		dst_tone_power_cmd(state);	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/50b215a05878ce9636dace6cd21f7e91ff005058/dst.c/clean/drivers/media/dvb/bt8xx/dst.c