Searched refs:n_try (Results 1 – 1 of 1) sorted by relevance
263 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local284 n_try--; in mm_camera_open()289 if((my_obj->ctrl_fd >= 0) || (errno != EIO && errno != ETIMEDOUT) || (n_try <= 0 )) { in mm_camera_open()295 }while (n_try > 0); in mm_camera_open()312 n_try = MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()314 n_try--; in mm_camera_open()318 if((my_obj->ds_fd >= 0) || (n_try <= 0 )) { in mm_camera_open()325 } while (n_try > 0); in mm_camera_open()