msm: isp: Fix isp recovery mechanism

Check for overflow error in pagefault handler and
proceed with recovery if pagaefault is the result
of the overflow.

Change-Id: Ib57777151d48c78ca8dc9984b4b823e62a621db8
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
This commit is contained in:
Abhishek Kondaveeti 2017-04-21 15:05:40 +05:30 committed by Gerrit - the friendly Code Review server
parent 5d78c03af8
commit 687c848007

View file

@ -2225,8 +2225,6 @@ static void msm_vfe_iommu_fault_handler(struct iommu_domain *domain,
mutex_lock(&vfe_dev->core_mutex);
if (vfe_dev->vfe_open_cnt > 0) {
atomic_set(&vfe_dev->error_info.overflow_state,
HALT_ENFORCED);
pr_err_ratelimited("%s: fault address is %lx\n",
__func__, iova);
msm_isp_process_iommu_page_fault(vfe_dev);