Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933056AbWKSTYT (ORCPT ); Sun, 19 Nov 2006 14:24:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933057AbWKSTYT (ORCPT ); Sun, 19 Nov 2006 14:24:19 -0500 Received: from mx2.cs.washington.edu ([128.208.2.105]:53431 "EHLO mx2.cs.washington.edu") by vger.kernel.org with ESMTP id S933056AbWKSTYS (ORCPT ); Sun, 19 Nov 2006 14:24:18 -0500 Date: Sun, 19 Nov 2006 11:24:08 -0800 (PST) From: David Rientjes To: Dave Jones cc: Hiroshi Miura , Zwane Mwaikambo , linux-kernel@vger.kernel.org Subject: [PATCH] i386 cpufreq: cs5530A allows active idle Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1327 Lines: 29 The cs5530A will be able to go into active idle (PWRSVE) so its PCI class revision should be accurately stored. Cc: Hiroshi Miura Cc: Dave Jones Cc: Zwane Mwaikambo Signed-off-by: David Rientjes --- 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/