decoder->input = input;  
static int saa7191_set_input(struct i2c_client *client, int input){	unsigned char luma = saa7191_read_reg(client, SAA7191_REG_LUMA);	unsigned char iock = saa7191_read_reg(client, SAA7191_REG_IOCK);	int err;	switch (input) {	case SAA7191_INPUT_COMPOSITE: /* Set Composite input */		iock &= ~(SAA7191_IOCK_CHRS | SAA7191_IOCK_GPSW1			  | SAA7191_IOCK_GPSW2);		/* Chrominance trap active */		luma &= ~SAA7191_LUMA_BYPS;		break;	case SAA7191_INPUT_SVIDEO: /* Set S-Video input */		iock |= SAA7191_IOCK_CHRS | SAA7191_IOCK_GPSW2;		/* Chrominance trap bypassed */		luma |= SAA7191_LUMA_BYPS;		break;	default:		return -EINVAL;	}	err = saa7191_write_reg(client, SAA7191_REG_LUMA, luma);	if (err)		return -EIO;	err = saa7191_write_reg(client, SAA7191_REG_IOCK, iock);	if (err)		return -EIO;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a637a114f36b94a1ad8b9867f43bac0414958420/saa7191.c/buggy/drivers/media/video/saa7191.c