View | Details | Raw Unified | Return to bug 11892 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6/drivers/acpi/ec.c (+1 lines)
Lines 263-268 static int acpi_ec_wait(struct acpi_ec * Link Here
263
	} else {
263
	} else {
264
		unsigned long delay = jiffies + msecs_to_jiffies(ACPI_EC_DELAY);
264
		unsigned long delay = jiffies + msecs_to_jiffies(ACPI_EC_DELAY);
265
		clear_bit(EC_FLAGS_WAIT_GPE, &ec->flags);
265
		clear_bit(EC_FLAGS_WAIT_GPE, &ec->flags);
266
		udelay(2);
266
		while (time_before(jiffies, delay)) {
267
		while (time_before(jiffies, delay)) {
267
			if (acpi_ec_check_status(ec, event))
268
			if (acpi_ec_check_status(ec, event))
268
				return 0;
269
				return 0;

Return to bug 11892