commit | 6e57b2f00e36e63da765e3aa1650b03772999726 | [log] [tgz] |
---|---|---|
author | Rohit Ner <rohitner@google.com> | Tue Apr 25 00:14:41 2023 -0700 |
committer | Rohit Ner <rohitner@google.com> | Tue Apr 25 09:29:54 2023 -0700 |
tree | 082e86142f3824bb82da2dca2226089146abe245 | |
parent | 100f56d873591a8de61ff8826c2ed8cdd09f3338 [diff] |
fix(ufs): poll UCRDY for all commands Host must only set UICCMD if HCS.UCRDY is set to 1. At present, SW polls for UCRDY only before sending DME_GET. Generalise this behaviour for DME_SET, DME_LINKSTARTUP, DME_HIBERNATE_EXIT by moving polling logic inside ufshc_send_uic_cmd. Signed-off-by: Rohit Ner <rohitner@google.com> Change-Id: Iece777f803a660fdd144a073834c221e889371a6