|
@@ -1227,7 +1227,6 @@ static int cam_ife_hw_mgr_init_hw(
|
|
struct cam_ife_hw_mgr_ctx *ctx)
|
|
struct cam_ife_hw_mgr_ctx *ctx)
|
|
{
|
|
{
|
|
struct cam_isp_hw_mgr_res *hw_mgr_res;
|
|
struct cam_isp_hw_mgr_res *hw_mgr_res;
|
|
- struct cam_ife_hw_mgr *hw_mgr;
|
|
|
|
int rc = 0, i;
|
|
int rc = 0, i;
|
|
|
|
|
|
/* INIT IFE SRC */
|
|
/* INIT IFE SRC */
|
|
@@ -1307,17 +1306,6 @@ static int cam_ife_hw_mgr_init_hw(
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- hw_mgr = ctx->hw_mgr;
|
|
|
|
-
|
|
|
|
- if (hw_mgr->csid_global_reset_en) {
|
|
|
|
- rc = cam_ife_hw_mgr_reset_csid(ctx,
|
|
|
|
- CAM_IFE_CSID_RESET_GLOBAL);
|
|
|
|
- if (rc) {
|
|
|
|
- CAM_ERR(CAM_ISP, "CSID reset failed, ctx_idx:%u", ctx->ctx_index);
|
|
|
|
- goto deinit;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/* Check if any cache needs to be activated */
|
|
/* Check if any cache needs to be activated */
|
|
for (i = CAM_LLCC_SMALL_1; i < CAM_LLCC_MAX; i++) {
|
|
for (i = CAM_LLCC_SMALL_1; i < CAM_LLCC_MAX; i++) {
|
|
if (ctx->flags.sys_cache_usage[i]) {
|
|
if (ctx->flags.sys_cache_usage[i]) {
|