--- la-2.6.8.1/drivers/acpi/pcc_acpi.c 2004-08-22 01:21:03.000000000 -0700 +++ linux-2.6.8.1/drivers/acpi/pcc_acpi.c 2004-08-22 01:23:41.000000000 -0700 @@ -20,6 +20,8 @@ *--------------------------------------------------------------------------- * * ChangeLog: + * Aug.21, 2004 David Bronaugh + * - v0.6.1 Fix a silly error with status checking * Aug.20, 2004 David Bronaugh * - v0.6 Correct brightness controls to reflect reality * based on information gleaned by Hiroshi Miura @@ -44,7 +46,7 @@ * */ -#define ACPI_PCC_VERSION "0.6" +#define ACPI_PCC_VERSION "0.6.1" #include #include @@ -427,7 +429,7 @@ int status; status = read_acpi_int(hotkey->handle, METHOD_HKEY_QUERY, &result); - if (status > 0) { + if (status < 0) { printk(KERN_INFO LOGPREFIX "error getting hotkey status\n"); } else { hotkey->status = result;