diff options
author | Manu Gautam <mgautam@codeaurora.org> | 2018-03-20 07:01:47 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-04-25 07:22:59 +0200 |
commit | 8866df25e56cd5ac067e70825e6f38f9f2363db9 (patch) | |
tree | 3d5d93497a111508df9698a1f5b9dd9507cc8911 /drivers/phy/qualcomm | |
parent | phy: exynos-mipi-video: Simplify code by using regmap_update_bits() (diff) | |
download | linux-8866df25e56cd5ac067e70825e6f38f9f2363db9.tar.xz linux-8866df25e56cd5ac067e70825e6f38f9f2363db9.zip |
phy: core: Allow phy_pm_runtime_xxx API calls with NULL phy
phy_init() and phy_exit() calls, and phy_power_on() and
phy_power_off() already accept NULL as valid PHY reference
and act as NOP. Extend same concept to phy runtime_pm APIs
to keep drivers (e.g. dwc3) code simple while dealing with
optional PHYs.
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/qualcomm')
0 files changed, 0 insertions, 0 deletions