RING_TYPE_ER
mhi_ep_ring_init(&mhi_cntrl->mhi_event[i].ring, RING_TYPE_ER, i);
if (ring->type == RING_TYPE_ER) {
if (ring->type == RING_TYPE_ER)