예제 #1
0
/*******************************************************************************
* kdSetSensorSyncFlag
********************************************************************************/
int kdSetSensorSyncFlag(BOOL bSensorSync)
{
    bSesnorVsyncFlag = bSensorSync;		
//    PK_DBG("[Sensor] kdSetSensorSyncFlag:%d\n", bSesnorVsyncFlag);

    strobe_VDIrq(); //cotta : added for high current solution

    return 0;
}
예제 #2
0
int kdSetSensorSyncFlag(BOOL bSensorSync)
{
	spin_lock(&kdsensor_drv_lock);

    bSesnorVsyncFlag = bSensorSync;		
	spin_unlock(&kdsensor_drv_lock);
//    PK_DBG("[Sensor] kdSetSensorSyncFlag:%d\n", bSesnorVsyncFlag);

    strobe_VDIrq(); //cotta : added for high current solution

    return 0;
}