* [2.6.1 PM] runtime device power management
@ 2004-01-14 2:29 Bharata B Rao
0 siblings, 0 replies; only message in thread
From: Bharata B Rao @ 2004-01-14 2:29 UTC (permalink / raw)
To: linux-kernel
Hello,
I have been trying to suspend and resume a device in runtime using the
/sys/devices/pci.../power/state interface.
First time the device suspend/resume works correctly.
But since, during resume the power_state is not set for the device(as is
done during suspend), it still retains the old suspended state value.
Because of which, it can't be suspended again. (kernel thinks its
already suspended)
This can be fixed by just setting the dev->power.power_state to
appropriate value in drivers/base/power/runtime.c:runtime_resume() or in
any other suitable place.
Regards,
Bharata.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-14 2:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 2:29 [2.6.1 PM] runtime device power management Bharata B Rao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox