scsi :ufs: verify hba controller hce reg value
Sometimes due to hw issues it takes some time to the
host controller register to update. In order to verify the register
has updated, a polling is done until its value is set.
In addition the functions ufshcd_hba_stop() and
ufshcd_wait_for_register() was updated with an additional input
parameter, indicating the timeout between reads will
be done by sleeping or spinning the cpu.
Change-Id: Id79d92a4a0bc05d385eb47c027fe19a765f71851
Signed-off-by:
Raviv Shvili <rshvili@codeaurora.org>
Loading
Please register or sign in to comment