spin_lock(&vino_drvdata->input_lock); 
spin_lock_irqsave(&vino_drvdata->input_lock, flags); 
static int vino_v4l2_g_input(struct vino_channel_settings *vcs,			     struct v4l2_input *i){	__u32 index;	int input;	spin_lock(&vino_drvdata->input_lock);	input = vcs->input;	index = vino_find_input_index(vcs);	spin_unlock(&vino_drvdata->input_lock);	dprintk("input = %d\n", input);	if (input == VINO_INPUT_NONE) {		return -EINVAL;	}	memset(i, 0, sizeof(struct v4l2_input));	i->index = index;	i->type = V4L2_INPUT_TYPE_CAMERA;	i->std = vino_inputs[input].std;	strcpy(i->name, vino_inputs[input].name);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a637a114f36b94a1ad8b9867f43bac0414958420/vino.c/buggy/drivers/media/video/vino.c