diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-01-14 19:28:33 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-23 22:06:49 +0100 |
commit | c2cf5769fae1ce208ea00fa85298d1d19969300a (patch) | |
tree | 0b230fedd4f4b9fc870ac6dc6b33bbd0c568ec8c /security | |
parent | 01305d4139cd345aa9f64cecfd7fc7b237e1444e (diff) | |
download | linux-c2cf5769fae1ce208ea00fa85298d1d19969300a.tar.bz2 |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions