]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-snps: Add runtime suspend and resume handlers
authorWesley Cheng <wcheng@codeaurora.org>
Thu, 25 Jun 2020 19:54:43 +0000 (12:54 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 29 Jun 2020 09:45:52 +0000 (15:15 +0530)
commit318a56e07564b5dadbff3898ac3cf234f4718283
tree43e5f63fe657468cc32b1b177c3179fceb4effb7
parent15187a82722668f3a2fb3cac4d58db6be1241f6e
phy: qcom-snps: Add runtime suspend and resume handlers

Allow for the PHY to be put into a powered down state when possible.
Add the required suspend and resume callbacks, which will determine
what resources can be turned off depending on the cable status.

Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lore.kernel.org/r/20200625195444.15130-2-wcheng@codeaurora.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c