scsi: ufs-qcom: Keep core_clk_unipro on while link is active
authorCan Guo <cang@codeaurora.org>
Thu, 26 Nov 2020 02:01:01 +0000 (18:01 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Dec 2020 05:14:16 +0000 (00:14 -0500)
commit96f08cc5943c0fe943ea10fdead6a80b73270046
tree85a0e8da24f73bbcc466f70291783ac9dddd64d5
parent81309c247a4dcd597cbda5254fd0afdd61b93f14
scsi: ufs-qcom: Keep core_clk_unipro on while link is active

If we want to disable clocks to save power but still keep the link active,
core_clk_unipro, like ref_clk, should not be the one being disabled.

Link: https://lore.kernel.org/r/1606356063-38380-3-git-send-email-cang@codeaurora.org
Reviewed-by: Hongwu Su <hongwus@codeaurora.org>
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c