projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caede34
)
[CPUFREQ] gx-suspmod: fix "&& 0xff" typo
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 8 Nov 2006 22:04:35 +0000
(
01:04
+0300)
committer
Dave Jones
<davej@redhat.com>
Wed, 8 Nov 2006 22:14:31 +0000
(17:14 -0500)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
index 92afa3bc84f102a29b99f864f4f1db866e5a7a1a..0b9cc8aea954c260d5aefebd53c76f408a3ac373 100644
(file)
--- 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);