diff options
author | Archit Taneja <architt@codeaurora.org> | 2017-07-28 13:47:03 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-08-02 14:53:46 +0300 |
commit | f6be1121ea8aa563f5a651cf5a96742c965a95f7 (patch) | |
tree | 9a941c42154d13780f31206467c95f124d8d8f95 /drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | |
parent | 6ed9ed484d04c2f6db0f68b0a31ef24db27d6454 (diff) | |
download | linux-f6be1121ea8aa563f5a651cf5a96742c965a95f7.tar.xz |
drm/msm/dsi: Set up runtime PM for DSI
Call the pm_runtime_get/put API where we need the clocks enabled.
The main entry/exit points are 1) enabling/disabling the DSI bridge
and 2) Sending commands from the DSI host to the device.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/phy/dsi_phy.c')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c index 0c2eb9c9a1fc..7c9bf91bc22b 100644 --- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c +++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c @@ -373,7 +373,7 @@ static int dsi_phy_enable_resource(struct msm_dsi_phy *phy) static void dsi_phy_disable_resource(struct msm_dsi_phy *phy) { clk_disable_unprepare(phy->ahb_clk); - pm_runtime_put_sync(&phy->pdev->dev); + pm_runtime_put_autosuspend(&phy->pdev->dev); } static const struct of_device_id dsi_phy_dt_match[] = { |