summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-19 00:44:39 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-19 00:44:38 -0800
commitbdd4cbfb26b3287d3ffe262b049b9b478ce9c49f (patch)
tree66446ba78a181c56a2c1c65852e49cbf43bbaef3
parent98c2870e095f3664dab52c70d90c409eb2ec173e (diff)
parent2cd4abda5acfd4c86d7cb5ef34f87abc77594d91 (diff)
Merge "msm: camera: isp: Fix HVX streaming after crash"
-rw-r--r--drivers/media/platform/msm/camera_v2/isp/msm_isp47.c2
-rw-r--r--drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp47.c b/drivers/media/platform/msm/camera_v2/isp/msm_isp47.c
index 56056849e140..8793745aac71 100644
--- a/drivers/media/platform/msm/camera_v2/isp/msm_isp47.c
+++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp47.c
@@ -1523,6 +1523,8 @@ void msm_vfe47_update_camif_state(struct vfe_device *vfe_dev,
if ((vfe_dev->hvx_cmd > HVX_DISABLE) &&
(vfe_dev->hvx_cmd <= HVX_ROUND_TRIP))
msm_vfe47_configure_hvx(vfe_dev, 1);
+ else
+ msm_vfe47_configure_hvx(vfe_dev, 0);
bus_en =
((vfe_dev->axi_data.
diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c b/drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c
index 59b875d6e464..778df297f93c 100644
--- a/drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c
+++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c
@@ -450,9 +450,7 @@ static int msm_isp_cfg_pix(struct vfe_device *vfe_dev,
}
pix_cfg = &input_cfg->d.pix_cfg;
- if ((pix_cfg->hvx_cmd > HVX_DISABLE) &&
- (pix_cfg->hvx_cmd <= HVX_ROUND_TRIP))
- vfe_dev->hvx_cmd = pix_cfg->hvx_cmd;
+ vfe_dev->hvx_cmd = pix_cfg->hvx_cmd;
vfe_dev->is_split = input_cfg->d.pix_cfg.is_split;
vfe_dev->axi_data.src_info[VFE_PIX_0].pixel_clock =