From: Pavel Machek <pavel@ucw.cz>
To: bcollins@debian.org, scjody@modernduck.com,
linux1394-devel@lists.sourceforge.net,
kernel list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: set power state of firewire host during suspend
Date: Tue, 5 Sep 2006 10:14:26 +0200 [thread overview]
Message-ID: <20060905081426.GA4105@elf.ucw.cz> (raw)
Put firewire host controller in PCI Dx state for system suspend.
(I was not able to measure any power savings, but it sounds like right
thing to do, anyway.)
Signed-off-by: Pavel Machek <pavel@suse.cz>
---
commit 099774f95904ca16463b9383d812d20621553555
tree 9173983914ccf142ce948dc03f7ae493b489c28f
parent c0aceb8cda90a681ee8028e22b45c00e98b7c33c
author <pavel@amd.ucw.cz> Tue, 05 Sep 2006 10:13:37 +0200
committer <pavel@amd.ucw.cz> Tue, 05 Sep 2006 10:13:37 +0200
drivers/ieee1394/ohci1394.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c
index 448df27..12b6dfa 100644
--- a/drivers/ieee1394/ohci1394.c
+++ b/drivers/ieee1394/ohci1394.c
@@ -3565,6 +3565,7 @@ static int ohci1394_pci_suspend (struct
}
#endif
+ pci_set_power_state(pdev, pci_choose_state(pdev, state));
return 0;
}
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next reply other threads:[~2006-09-05 8:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-05 8:14 Pavel Machek [this message]
2006-09-05 10:36 ` Stefan Richter
2006-09-05 11:03 ` Pavel Machek
2006-09-07 20:05 ` Stefan Richter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060905081426.GA4105@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@osdl.org \
--cc=bcollins@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=scjody@modernduck.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®