if (av7110->fe_synced) {
if (synced) {
static int av7110_fe_lock_fix(struct av7110* av7110, fe_status_t status){	int ret = 0;	int synced = (status & FE_HAS_LOCK) ? 1 : 0;	av7110->fe_status = status;	if (av7110->fe_synced == synced)		return 0;	av7110->fe_synced = synced;	if (av7110->playing)		return 0;	if (down_interruptible(&av7110->pid_mutex))		return -ERESTARTSYS;	if (av7110->fe_synced) {		ret = SetPIDs(av7110, av7110->pids[DMX_PES_VIDEO],			av7110->pids[DMX_PES_AUDIO],			av7110->pids[DMX_PES_TELETEXT], 0,			av7110->pids[DMX_PES_PCR]);		if (!ret)			ret = av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, Scan, 0);	} else {		ret = SetPIDs(av7110, 0, 0, 0, 0, 0);		if (!ret) {			ret = av7110_fw_cmd(av7110, COMTYPE_PID_FILTER, FlushTSQueue, 0);			if (!ret)				ret = av7110_wait_msgstate(av7110, GPMQBusy);		}	}	up(&av7110->pid_mutex);	return ret;}