aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-03-11 15:21:00 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-03-11 15:21:00 +0100
commit7874b581c78bbf77006df9f264e6141f182f74fc (patch)
tree162fb7986bcc9416fc9f4a6a65188c943d781414 /drivers/net
parentMerge branch 'pm-sleep' (diff)
parentDocumentation: PM: Fix runtime_pm.rst markdown syntax (diff)
downloadwireguard-linux-7874b581c78bbf77006df9f264e6141f182f74fc.tar.xz
wireguard-linux-7874b581c78bbf77006df9f264e6141f182f74fc.zip
Merge branch 'pm-runtime'
Merge changes related to the runtime power management of devices for 6.9-rc1: - Simplify pm_runtime_get_if_active() usage and add a replacement for pm_runtime_put_autosuspend() (Sakari Ailus). - Add a tracepoint for runtime_status changes tracking (Vilas Bhat). - Fix section title markdown in the runtime PM documentation (Yiwei Lin). * pm-runtime: Documentation: PM: Fix runtime_pm.rst markdown syntax PM: runtime: add tracepoint for runtime_status changes PM: runtime: Add pm_runtime_put_autosuspend() replacement PM: runtime: Simplify pm_runtime_get_if_active() usage
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ipa/ipa_smp2p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/ipa_smp2p.c b/drivers/net/ipa/ipa_smp2p.c
index 5620dc271fac..cbf3d4761ce3 100644
--- a/drivers/net/ipa/ipa_smp2p.c
+++ b/drivers/net/ipa/ipa_smp2p.c
@@ -92,7 +92,7 @@ static void ipa_smp2p_notify(struct ipa_smp2p *smp2p)
return;
dev = &smp2p->ipa->pdev->dev;
- smp2p->power_on = pm_runtime_get_if_active(dev, true) > 0;
+ smp2p->power_on = pm_runtime_get_if_active(dev) > 0;
/* Signal whether the IPA power is enabled */
mask = BIT(smp2p->enabled_bit);