The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] i386 cpufreq: cs5530A allows active idle
@ 2006-11-19 19:24 David Rientjes
  2006-11-19 20:55 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: David Rientjes @ 2006-11-19 19:24 UTC (permalink / raw)
  To: Dave Jones; +Cc: Hiroshi Miura, Zwane Mwaikambo, linux-kernel

The cs5530A will be able to go into active idle (PWRSVE) so its PCI class 
revision should be accurately stored.

Cc: Hiroshi Miura <miura@da-cha.org>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Zwane Mwaikambo <zwane@commfireservices.com>
Signed-off-by: David Rientjes <rientjes@cs.washington.edu>
---
 arch/i386/kernel/cpu/cpufreq/gx-suspmod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
index 92afa3b..0b9cc8a 100644
--- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
+++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
@@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void)
 	pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration));
 	pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration));
         pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev);
-	params->pci_rev = class_rev && 0xff;
+	params->pci_rev = class_rev & 0xff;
 
 	if ((ret = cpufreq_register_driver(&gx_suspmod_driver))) {
 		kfree(params);

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-20  0:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-19 19:24 [PATCH] i386 cpufreq: cs5530A allows active idle David Rientjes
2006-11-19 20:55 ` Dave Jones
2006-11-20  0:54   ` Alan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox