if (data1 != 0x67 || data2 < 0x20 || data2 > 0x2a) { 
if (data1 != 0x67 || data2 < 0x20 || data2 > 0x2e) { 
static int tda1004x_check_upload_ok(struct tda1004x_state *state){	u8 data1, data2;	unsigned long timeout;	if (state->demod_type == TDA1004X_DEMOD_TDA10046) {		timeout = jiffies + 2 * HZ;		while(!(tda1004x_read_byte(state, TDA1004X_STATUS_CD) & 0x20)) {			if (time_after(jiffies, timeout)) {				printk(KERN_ERR "tda1004x: timeout waiting for DSP ready\n");				break;			}			msleep(1);		}	} else		msleep(100);	// check upload was OK	tda1004x_write_mask(state, TDA1004X_CONFC4, 0x10, 0); // we want to read from the DSP	tda1004x_write_byteI(state, TDA1004X_DSP_CMD, 0x67);	data1 = tda1004x_read_byte(state, TDA1004X_DSP_DATA1);	data2 = tda1004x_read_byte(state, TDA1004X_DSP_DATA2);	if (data1 != 0x67 || data2 < 0x20 || data2 > 0x2a) {		printk(KERN_INFO "tda1004x: found firmware revision %x -- invalid\n", data2);		return -EIO;	}	printk(KERN_INFO "tda1004x: found firmware revision %x -- ok\n", data2);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd/tda1004x.c/buggy/drivers/media/dvb/frontends/tda1004x.c