Searched refs:n_try (Results 1 – 1 of 1) sorted by relevance
258 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local279 n_try--; in mm_camera_open()284 if((my_obj->ctrl_fd >= 0) || (errno != EIO && errno != ETIMEDOUT) || (n_try <= 0 )) { in mm_camera_open()291 }while (n_try > 0); in mm_camera_open()304 n_try = MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()306 n_try--; in mm_camera_open()310 if((my_obj->ds_fd >= 0) || (n_try <= 0 )) { in mm_camera_open()317 } while (n_try > 0); in mm_camera_open()