commit | 99ff1a35fe5e039097ba2520f00ecd862de6f6de | [log] [tgz] |
---|---|---|
author | Jorge Troncoso <jatron@google.com> | Thu Sep 30 16:29:32 2021 -0700 |
committer | Jorge Troncoso <jatron@google.com> | Fri Oct 15 13:22:49 2021 -0700 |
tree | d440f1d415bf31d37f3d3df38305d95a9d94de61 | |
parent | d68d163dd744aa35787bc3f8a9e987230fa576e9 [diff] |
refactor(ufs): add retry logic to ufshc_reset This change aims to make the UFS code more robust by adding retry logic and timeouts to ufshc_reset. We also define a new function ufshc_hce_enable for Host Controller Enable (HCE). The inner and outer retry pattern is based on Linux's ufshcd_hba_execute_hce function. Signed-off-by: Jorge Troncoso <jatron@google.com> Change-Id: I9403a5a25d3ca50af5f2f9a65b774f6a2d7a9626