dprintk("%s: DST PIO disable failed !\n", __FUNCTION__); 
dprintk(verbose, DST_DEBUG, 1, "DST PIO disable failed !"); 
static int dst_write_tuna(struct dvb_frontend* fe){	struct dst_state* state = fe->demodulator_priv;	int retval;	u8 reply;	if (debug > 4)		dprintk("%s: type_flags 0x%x \n", __FUNCTION__, state->type_flags);	state->decode_freq = 0;	state->decode_lock = state->decode_strength = state->decode_snr = 0;	if (state->dst_type == DST_TYPE_IS_SAT) {		if (!(state->diseq_flags & HAS_POWER))			dst_set_voltage(fe, SEC_VOLTAGE_13);	}	state->diseq_flags &= ~(HAS_LOCK | ATTEMPT_TUNE);	if ((dst_comm_init(state)) < 0) {		dprintk("%s: DST Communication initialization failed.\n", __FUNCTION__);		return -1;	}	if (state->type_flags & DST_TYPE_HAS_NEWTUNE) {		state->tx_tuna[9] = dst_check_sum(&state->tx_tuna[0], 9);		retval = write_dst(state, &state->tx_tuna[0], 10);	} else {		state->tx_tuna[9] = dst_check_sum(&state->tx_tuna[2], 7);		retval = write_dst(state, &state->tx_tuna[2], FIXED_COMM);	}	if (retval < 0) {		dst_pio_disable(state);		dprintk("%s: write not successful\n", __FUNCTION__);		return retval;	}	if ((dst_pio_disable(state)) < 0) {		dprintk("%s: DST PIO disable failed !\n", __FUNCTION__);		return -1;	}	if ((read_dst(state, &reply, GET_ACK) < 0)) {		dprintk("%s: read verify not successful.\n", __FUNCTION__);		return -1;	}	if (reply != ACK) {		dprintk("%s: write not acknowledged 0x%02x \n", __FUNCTION__, reply);		return 0;	}	state->diseq_flags |= ATTEMPT_TUNE;	return dst_get_tuna(state);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a427de6f72bc0d83ebb1d87f9003c5e1009f21cd/dst.c/buggy/drivers/media/dvb/bt8xx/dst.c