Searched refs:n_try (Results 1 – 1 of 1) sorted by relevance
266 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local289 n_try--; in mm_camera_open()294 if((my_obj->ctrl_fd >= 0) || (errno != EIO && errno != ETIMEDOUT) || (n_try <= 0 )) { in mm_camera_open()300 }while (n_try > 0); in mm_camera_open()317 n_try = MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()319 n_try--; in mm_camera_open()323 if((my_obj->ds_fd >= 0) || (n_try <= 0 )) { in mm_camera_open()330 } while (n_try > 0); in mm_camera_open()