Merge branch 'feat/isp_af_driver' into 'master'

isp: added isp driver framework and isp af driver

See merge request espressif/esp-idf!27937
This commit is contained in:
Armando (Dou Yiwen)
2024-04-01 10:44:48 +08:00
39 changed files with 2010 additions and 11 deletions
@@ -73,6 +73,7 @@ esp_err_t mipi_csi_brg_declaim(int id)
s_ctx.ref_cnt[id]--;
if (s_ctx.ref_cnt[id] < 0) {
s_ctx.ref_cnt[id] = 0;
portEXIT_CRITICAL(&s_ctx.spinlock);
ESP_LOGE(TAG, "%s called, but s_ctx.ref_cnt[%d] == 0", __func__, id);
return ESP_ERR_INVALID_STATE;