* [PATCH v1] ACPI: TAD: Remove redundant pm_runtime_suspend() from probe
@ 2026-11-30 15:09 Rafael J. Wysocki
0 siblings, 0 replies; only message in thread
From: Rafael J. Wysocki @ 2026-11-30 15:09 UTC (permalink / raw)
To: Linux ACPI; +Cc: Linux PM, Brian Norris
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
The pm_runtime_suspend() call in acpi_tad_probe() is redundant
because __driver_probe_device() calls pm_request_idle() after
running the probe callback, so drop it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
drivers/acpi/acpi_tad.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/acpi/acpi_tad.c
+++ b/drivers/acpi/acpi_tad.c
@@ -923,7 +923,6 @@ static int acpi_tad_probe(struct platfor
*/
pm_runtime_set_active(dev);
pm_runtime_enable(dev);
- pm_runtime_suspend(dev);
/*
* acpi_tad_remove() needs to run after unregistering the RTC class
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 15:09 [PATCH v1] ACPI: TAD: Remove redundant pm_runtime_suspend() from probe Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox