Commit 6fdc2d07 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Dave Jones

[CPUFREQ] gx-suspmod: fix "&& 0xff" typo

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent caede347
...@@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void) ...@@ -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_MODON, &(params->on_duration));
pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration)); pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration));
pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev); 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))) { if ((ret = cpufreq_register_driver(&gx_suspmod_driver))) {
kfree(params); kfree(params);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment