Platform/ECM3532/M3/hw/sensor_drv/lsm6dsl/lsm6dsl.c
/*
 * Will be called from SM Init
 * will call driver Init
 */
Will be called from SM Init
will call driver Init
Will be called from SM Init will call driver Init
int32_t Lsm6dslDrvProbe()
{
    int32_t ret;
    xSemaphoreTake(lsmdata->DevLock, portMAX_DELAY);
    ret = lsm6dsl_init(lsmdata);
    xSemaphoreGive(lsmdata->DevLock);
    return ret;
}
int32_t Lsm6dslDrvProbe ( ) { int32_t ret ; xSemaphoreTake ( lsmdata -> DevLock , portMAX_DELAY ) ; ret = lsm6dsl_init ( lsmdata ) ; xSemaphoreGive ( lsmdata -> DevLock ) ; return ret ; }
Will be called from SM Init
 will call driver Init
Will be called from SM Init will call driver Init