diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-03-21 05:00:57 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-21 05:00:57 -0700 |
| commit | 99837fe57da13b40a7c10cfe6ef724ba2cd16560 (patch) | |
| tree | a44d809233e55563576970f1e10e7ad079832469 | |
| parent | ce96e448b2a57a6ec43a91a24d1dbb3f5f4095e3 (diff) | |
| parent | bbbf454942d755befde865d6c92b985b76cde9f0 (diff) | |
Merge "phy: qcom-ufs: set no runtime PM callbacks flag"
| -rw-r--r-- | drivers/phy/phy-qcom-ufs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/phy/phy-qcom-ufs.c b/drivers/phy/phy-qcom-ufs.c index c3cb57ed6083..1e3e175d3e8d 100644 --- a/drivers/phy/phy-qcom-ufs.c +++ b/drivers/phy/phy-qcom-ufs.c @@ -113,6 +113,14 @@ struct phy *ufs_qcom_phy_generic_probe(struct platform_device *pdev, goto out; } + /* + * UFS PHY power management is managed by its parent (UFS host + * controller) hence set the no the no runtime PM callbacks flag + * on UFS PHY device to avoid any accidental attempt to call the + * PM callbacks for PHY device. + */ + pm_runtime_no_callbacks(&generic_phy->dev); + common_cfg->phy_spec_ops = phy_spec_ops; common_cfg->dev = dev; |
