if (ret)
return ret;
pm_qos_update_request(&isp->pm_qos, PM_QOS_DEFAULT_VALUE);
- ret = atomisp_mrfld_power_down(isp);
-
- return ret;
+ return atomisp_mrfld_power_down(isp);
}
int atomisp_runtime_resume(struct device *dev)
return ret;
}
pm_qos_update_request(&isp->pm_qos, PM_QOS_DEFAULT_VALUE);
- ret = atomisp_mrfld_power_down(isp);
-
- return ret;
+ return atomisp_mrfld_power_down(isp);
}
static int atomisp_resume(struct device *dev)
enum ia_css_err ia_css_bufq_dequeue_psys_event(
uint8_t item[BUFQ_EVENT_SIZE])
{
- enum ia_css_err return_err;
+ enum ia_css_err;
int error = 0;
ia_css_queue_t *q;
}
error = ia_css_eventq_recv(q, item);
- return_err = ia_css_convert_errno(error);
- return return_err;
+ return ia_css_convert_errno(error);
}
uint8_t item[BUFQ_EVENT_SIZE])
{
#if !defined(HAS_NO_INPUT_SYSTEM)
- enum ia_css_err return_err;
+ enum ia_css_err;
int error = 0;
ia_css_queue_t *q;
return IA_CSS_ERR_RESOURCE_NOT_AVAILABLE;
}
error = ia_css_eventq_recv(q, item);
- return_err = ia_css_convert_errno(error);
- return return_err;
+ return ia_css_convert_errno(error);
#else
(void)item;
return IA_CSS_ERR_RESOURCE_NOT_AVAILABLE;