Hi Martin, The four patches in this series are what I came up with while reviewing recent UFS patches. These patches are intended for kernel v5.14. These patches have been posted as an "RFC" because these have been compile tested only. Thanks, Bart. Bart Van Assche (4): ufs: Rename the second ufshcd_probe_hba() argument ufs: Remove a check from ufshcd_queuecommand() ufs: Improve static type checking for the host controller state ufs: Make host controller state change handling more systematic drivers/scsi/ufs/ufshcd.c | 96 +++++++++++++++++---------------------- drivers/scsi/ufs/ufshcd.h | 25 +++++++++- 2 files changed, 65 insertions(+), 56 deletions(-)