av7110_setup_irc_config(NULL, ir_config); 
if (FW_VERSION(av_list[0]->arm_app) >= 0x2620 && !(ir_config & 0x0001)) ir_config |= 0x0002; /* enable extended RC5 */ for (i = 0; i < av_cnt; i++) av7110_setup_irc_config(av_list[i], ir_config); 
static int av7110_ir_write_proc(struct file *file, const char __user *buffer,				unsigned long count, void *data){	char *page;	int size = 4 + 256 * sizeof(u16);	if (count < size)		return -EINVAL;	page = (char *) vmalloc(size);	if (!page)		return -ENOMEM;	if (copy_from_user(page, buffer, size)) {		vfree(page);		return -EFAULT;	}	memcpy(&ir_config, page, 4);	memcpy(&key_map, page + 4, 256 * sizeof(u16));	vfree(page);	av7110_setup_irc_config(NULL, ir_config);	input_register_keys();	return count;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/03388ae30260475650bab24223151397afb72ec9/av7110_ir.c/buggy/drivers/media/dvb/ttpci/av7110_ir.c