]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(ufs): add retries to ufs_read_capacity
authorRohit Ner <rohitner@google.com>
Sat, 2 Jul 2022 11:52:40 +0000 (04:52 -0700)
committerRohit Ner <rohitner@google.com>
Thu, 7 Jul 2022 14:14:33 +0000 (07:14 -0700)
commit28645ebd706fe6ac9f34db9f7be5657fe4cffc1a
tree0012f2cf2fbc61efdd664d308689941577d61022
parent2d8e80c2a2104b7eca737fbc1e226572295c0d11
fix(ufs): add retries to ufs_read_capacity

This change replaces the polling loop with fixed number of retries,
returns error values and handles them in ufs_enum.

Signed-off-by: Rohit Ner <rohitner@google.com>
Change-Id: Ia769ef26703c7525091e55ff46aaae4637db933c
drivers/ufs/ufs.c
include/drivers/ufs.h