@@ -1093,14 +1073,14 @@ int setFrameParsAtomic(int sensor_port, ///< sensor port number (0
D5(printk(" set GLOBALPARS(0x%x)=0x%lx\n",index,val));
}elseif(pars[npar].num&FRAMEPAIR_FRAME_FUNC){
funcs2call[index]=val;
dev_dbg(g_devfp_ptr,"port= %d, set funcs2call[0x%x]=0x%lx\n",index,val,sensor_port);
dev_dbg(g_devfp_ptr,"port= %d, set funcs2call[0x%x]=0x%lx\n",sensor_port,index,val);
// } else if ((frameno !=findex_prev) && (frameno != findex_future)) { // do not write parameters in the future otherwise
}elseif((frame16!=findex_future)||((pars[npar].num&FRAMEPAIR_JUST_THIS)==0)){// do not write "JUST_THIS" parameters in the future otherwise they'll stick
if(pars[npar].num&FRAMEPAIR_MASK_BYTES){// combine new value with the old one
// processPars(sensor_port, &asensorproc[sensor_port], thisFrameNumber(sensor_port) & PARS_FRAMES_MASK, 0); //maxahead=0, the rest will be processed after frame sync, from the tasklet
// Already having lock, call inner function. When called from tasklet, it will have to acquire lock
_processPars(sensor_port,&asensorproc[sensor_port],thisFrameNumber(sensor_port)&PARS_FRAMES_MASK,0);//maxahead=0, the rest will be processed after frame sync, from the tasklet
// If this is a multisensor camera, update composite sensor dimensions (will trigger other related changes)
// For single sensors sensor size is updated only after initialization, with composite it needs to be updated after vertical gap or number of active sesnors is changed
// if (GLOBALPARS(G_SENS_AVAIL) ) multisensor_pgm_afterinit0 (sensor, thispars, prevpars,frame16);
// Setup WOI. If size is zero - use maximal that sensor can, in non-zero - just refresh so appropriate actions will be scheduled on chnange