mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
msm: camera: ife: Remove epd reset operation from csid global reset
EPD support is configured as a part of config blob. Currently global reset is invoked after CSID is configured and as a part of that epd support attributre gets reset. This cause CPHY_EOT_RECEPTION error from CSID. This change removes reset part of epd supported attribute to continue with the expected opertion set during configuration of CSID. Also, set this attribute to zero by default at probe time to make sure epd is not supported. CRs-Fixed: 2775508 Change-Id: I0f49f952d2156d92eb0fb1813951a325b63e60b0 Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
This commit is contained in:
parent
73c03a7992
commit
1f5f70bfab
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,6 @@ static int cam_ife_csid_global_reset(struct cam_ife_csid_hw *csid_hw)
|
|||
csid_hw->hw_intf->hw_idx, val);
|
||||
csid_hw->error_irq_count = 0;
|
||||
csid_hw->prev_boot_timestamp = 0;
|
||||
csid_hw->epd_supported = 0;
|
||||
|
||||
end:
|
||||
return rc;
|
||||
|
|
@ -5241,6 +5240,7 @@ int cam_ife_csid_hw_probe_init(struct cam_hw_intf *csid_hw_intf,
|
|||
ife_csid_hw->error_irq_count = 0;
|
||||
ife_csid_hw->ipp_path_config.measure_enabled = 0;
|
||||
ife_csid_hw->ppp_path_config.measure_enabled = 0;
|
||||
ife_csid_hw->epd_supported = 0;
|
||||
for (i = 0; i <= CAM_IFE_PIX_PATH_RES_RDI_3; i++)
|
||||
ife_csid_hw->rdi_path_config[i].measure_enabled = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue