mbox series

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

Message ID 1607520942-22254-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, 1:35 p.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.

Change since v1:
- Updated the 2nd change

Can Guo (2):
  scsi: ufs: Protect some contexts from unexpected clock scaling
  scsi: ufs: Clean up ufshcd_exit_clk_scaling/gating()

 drivers/scsi/ufs/ufshcd.c | 116 ++++++++++++++++++++++++++--------------------
 drivers/scsi/ufs/ufshcd.h |   6 +++
 2 files changed, 71 insertions(+), 51 deletions(-)