commit | c2cf5769fae1ce208ea00fa85298d1d19969300a | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Wed Jan 14 19:28:33 2015 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Jan 23 22:06:49 2015 +0100 |
tree | 0b230fedd4f4b9fc870ac6dc6b33bbd0c568ec8c | |
parent | 01305d4139cd345aa9f64cecfd7fc7b237e1444e [diff] |
ACPI / EC: Fix returning values in acpi_ec_sync_query() The returning value of acpi_os_execute() is erroneously handled as errno. This patch corrects it by returning EBUSY to indicate the work queue item creation failure. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>