Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE"
authorCan Guo <cang@codeaurora.org>
Wed, 20 Jan 2021 10:04:23 +0000 (02:04 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 21 Jan 2021 03:23:56 +0000 (22:23 -0500)
commitb02d51afca002a0cd29a22200a2ed81c5e1f58de
tree34d572a7088cfedc9e734f53fbc0ab69435082a4
parent4543d9d78227f0de0056e06427303618c2adac65
Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE"

Commit 73cc291c2702 ("scsi: ufs: Make sure clk scaling happens only
when HBA is runtime ACTIVE") is no longer needed since commit
0e9d4ca43ba8 ("scsi: ufs: Protect some contexts from unexpected clock
scaling") is a more mature fix to protect UFS LLD stability from clock
scaling invoked through sysfs nodes by users.

Link: https://lore.kernel.org/r/1611137065-14266-4-git-send-email-cang@codeaurora.org
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c