]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/event.c
[ACPI] fix 2.6.13 boot hang regression on HT box w/ broken BIOS
[linux-2.6-omap-h63xx.git] / drivers / acpi / event.c
index bfa8b76de403019c88a32009ab8863124f1a6364..2dbb1b0f11d51bb16a227e794729ba0936ce3d3a 100644 (file)
@@ -58,9 +58,8 @@ acpi_system_read_event(struct file *file, char __user * buffer, size_t count,
                        return_VALUE(-EAGAIN);
 
                result = acpi_bus_receive_event(&event);
-               if (result) {
-                       return_VALUE(-EIO);
-               }
+               if (result)
+                       return_VALUE(result);
 
                chars_remaining = sprintf(str, "%s %s %08x %08x\n",
                                          event.device_class ? event.