aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2024-06-20 03:36:23 +0300
committerVinod Koul <vkoul@kernel.org>2024-08-05 21:43:15 +0530
commit10ba8479f460e9256f7d884dc1b7d89006a89c7b (patch)
tree4b6cf246bce9e1130d086f96a95632f71c0a2b14 /tools/perf/scripts/python/export-to-sqlite.py
parent1b369ff94bc36d2e16c8a91c0ea8ebd329555976 (diff)
downloadlinux-10ba8479f460e9256f7d884dc1b7d89006a89c7b.tar.gz
linux-10ba8479f460e9256f7d884dc1b7d89006a89c7b.tar.bz2
linux-10ba8479f460e9256f7d884dc1b7d89006a89c7b.zip
phy: phy-rockchip-samsung-hdptx: Enable runtime PM at PHY core level
When a new PHY is created via [devm_]phy_create(), the runtime PM for it is not enabled unless the parent device (which creates the PHY) has its own runtime PM already enabled. Move the call to devm_pm_runtime_enable() before devm_phy_create() to enable runtime PM at PHY core level. With this change the ->power_on() and ->power_off() callbacks do not require explicit runtime PM management anymore, since the PHY core handles that via phy_pm_runtime_{get,put}_sync() when phy_power_on() and phy_power_off() are invoked. Hence drop the now unnecessary calls to pm_runtime_resume_and_get() and pm_runtime_put() helpers. Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20240620-rk3588-hdmiphy-clkprov-v2-2-6a2d2164e508@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions