Hi Martin, While reading the UFS source code I noticed that some existing mechanisms are duplicated in this driver. These patches simplify and optimize the UFS driver. These patches are entirely untested. Bart. Bart Van Assche (4): ufs: Avoid busy-waiting by eliminating tag conflicts ufs: Simplify the clock scaling mechanism implementation ufs: Remove the SCSI timeout handler ufs: Remove superfluous memory barriers drivers/scsi/ufs/ufshcd.c | 288 +++++++++++--------------------------- drivers/scsi/ufs/ufshcd.h | 12 +- 2 files changed, 90 insertions(+), 210 deletions(-)