|
@@ -3683,7 +3683,7 @@ static int __cam_isp_ctx_validate_for_req_reapply_util(
|
|
struct cam_isp_ctx_req *req_isp = NULL;
|
|
struct cam_isp_ctx_req *req_isp = NULL;
|
|
struct cam_context *ctx = ctx_isp->base;
|
|
struct cam_context *ctx = ctx_isp->base;
|
|
|
|
|
|
- if (!in_interrupt())
|
|
|
|
|
|
+ if (in_task())
|
|
spin_lock_bh(&ctx->lock);
|
|
spin_lock_bh(&ctx->lock);
|
|
|
|
|
|
/* Check for req in active/wait lists */
|
|
/* Check for req in active/wait lists */
|
|
@@ -3744,7 +3744,7 @@ static int __cam_isp_ctx_validate_for_req_reapply_util(
|
|
}
|
|
}
|
|
|
|
|
|
end:
|
|
end:
|
|
- if (!in_interrupt())
|
|
|
|
|
|
+ if (in_task())
|
|
spin_unlock_bh(&ctx->lock);
|
|
spin_unlock_bh(&ctx->lock);
|
|
return rc;
|
|
return rc;
|
|
}
|
|
}
|