mbox series

[v1,0/2] Two changes related with UFS clock scaling

Message ID 1607497100-27570-1-git-send-email-cang@codeaurora.org (mailing list archive)
Headers show
Series Two changes related with UFS clock scaling | expand

Message

Can Guo Dec. 9, 2020, 6:58 a.m. UTC
This series is made based on 5.11/scsi-fixes branch.
The 1st change allows contexts to prevent clock scaling from being invoked through sysfs nodes like clkscale_enable.
The 2nd change is just a minor code cleanup.

Can Guo (2):
  scsi: ufs: Protect some contexts from unexpected clock scaling
  scsi: ufs: Clean up some lines from ufshcd_hba_exit()

 drivers/scsi/ufs/ufshcd.c | 91 +++++++++++++++++++++++++++--------------------
 drivers/scsi/ufs/ufshcd.h |  2 ++
 2 files changed, 54 insertions(+), 39 deletions(-)