On 8/22/24 7:17 AM, Bean Huo wrote:
Do you mean re-enabling UIC complete interrupt will cause the problem?
That's correct. ufshcd_uic_hibern8_enter() calls ufshcd_uic_pwr_ctrl() indirectly. For the test setup that is on my desk, the code in ufshcd_uic_pwr_ctrl() that re-enables the UIC completion interrupt causes the UFS host controller to exit hibernation. Thanks, Bart.