We delete the clearing of saved_err and saved_uic_err in hibern8 ctrl and
add recovery method when ufs clock enable fail cases.These cases had happened
in the previous soc versions.
Change-Id: Ia8dc78c58cd89030075fb63cc29e015bdb8411fa
Signed-off-by: HeonGwang Chu <hg.chu@samsung.com>
else
ret = ufshcd_uic_hibern8_exit(hba);
-
- if (ret || (hba->saved_err & INT_FATAL_ERRORS) ||
- ((hba->saved_err & UIC_ERROR) &&
- ((hba->saved_uic_err & UFSHCD_UIC_DL_PA_INIT_ERROR) ||
- (hba->saved_uic_err & UFSHCD_UIC_DL_ERROR)))) {
-
- if (!ret)
- ret = hba->saved_err;
+ if (ret)
goto out;
- }
if (hba->monitor.flag & UFSHCD_MONITOR_LEVEL2) {
if (en)