spin_unlock(&vino_drvdata->input_lock); 
spin_unlock_irqrestore(&vino_drvdata->input_lock, flags); 
static int vino_v4l2_s_std(struct vino_channel_settings *vcs,			   v4l2_std_id *std){	int ret = 0;	spin_lock(&vino_drvdata->input_lock);	/* check if the standard is valid for the current input */	if (vino_is_input_owner(vcs)	    && (vino_inputs[vcs->input].std & (*std))) {		dprintk("standard accepted\n");		/* change the video norm for SAA7191		 * and accept NTSC for D1 (do nothing) */		if (vcs->input == VINO_INPUT_D1)			goto out;		if ((*std) & V4L2_STD_PAL) {			vino_set_data_norm(vcs, VINO_DATA_NORM_PAL);			vcs->data_norm = VINO_DATA_NORM_PAL;		} else if ((*std) & V4L2_STD_NTSC) {			vino_set_data_norm(vcs, VINO_DATA_NORM_NTSC);			vcs->data_norm = VINO_DATA_NORM_NTSC;		} else if ((*std) & V4L2_STD_SECAM) {			vino_set_data_norm(vcs, VINO_DATA_NORM_SECAM);			vcs->data_norm = VINO_DATA_NORM_SECAM;		} else {			ret = -EINVAL;		}	} else {		ret = -EINVAL;	}out:	spin_unlock(&vino_drvdata->input_lock);	return ret;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a637a114f36b94a1ad8b9867f43bac0414958420/vino.c/buggy/drivers/media/video/vino.c