Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d91df1aaa9e4c06f8ea10d4935888c4f1976ef56 Commit: d91df1aaa9e4c06f8ea10d4935888c4f1976ef56 Parent: c99767974ebd2a719d849fdeaaa1674456f5283f Author: Alexey Starikovskiy <[EMAIL PROTECTED]> AuthorDate: Thu Dec 7 18:42:16 2006 +0300 Committer: Len Brown <[EMAIL PROTECTED]> CommitDate: Fri Dec 8 02:56:04 2006 -0500
ACPI: ec: Allow for write semantics in any command. Check for transaction attributes, not command index to decide on event to expect. Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/ec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index e6d4b08..348a19e 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -253,7 +253,7 @@ static int acpi_ec_transaction_unlocked(struct acpi_ec *ec, u8 command, acpi_ec_write_data(ec, *(wdata++)); } - if (command == ACPI_EC_COMMAND_WRITE) { + if (!rdata_len) { result = acpi_ec_wait(ec, ACPI_EC_EVENT_IBF_0); if (result) return result; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html