[PATCH v2 0/3] drivers: ufs: ufs_hba_ops callbacks cleanup
Julien Stephan
jstephan at baylibre.com
Tue Feb 10 17:22:42 CET 2026
Hi all,
I am currently writing a ufs driver for MT8195 and I noticed that return
values on ufs_hba_ops callbacks are ignored. Fix this.
While at it, I also removed a useless wrapper around
ufshcd_device_reset(), added a wrapper around
ufshcd_ops_phy_initialization and fixed a typo.
Signed-off-by: Julien Stephan <jstephan at baylibre.com>
---
Changes in v2:
- Fix interactive rebase issue: add missing "," and rename ret to err
- Link to v1: https://lore.kernel.org/r/20260210-ufs-ufs_hba_ops-cleanup-v1-0-bf12e31de4a9@baylibre.com
---
Julien Stephan (3):
drivers: ufs: handle return values of ufs_hba_ops callbacks
drivers: ufs: add helper for phy_initialization callback
drivers: ufs: fix typo in struct ufs_dev_cmd kernel-doc
drivers/ufs/ufs-rockchip.c | 10 ++++------
drivers/ufs/ufs-uclass.c | 36 ++++++++++++++++++++++++++----------
drivers/ufs/ufs.h | 10 +++++++++-
3 files changed, 39 insertions(+), 17 deletions(-)
---
base-commit: b99da05e1538b8fa153322da82917af2aa27e1d6
change-id: 20260210-ufs-ufs_hba_ops-cleanup-7394a30df596
Best regards,
--
Julien Stephan <jstephan at baylibre.com>
More information about the U-Boot
mailing list