commit | 611975470740b38084610e0a64ff4c6ff5aec89a | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Thu Sep 24 14:54:54 2015 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Sep 26 01:46:25 2015 +0200 |
tree | 434854d3649eeeebc77c0371f439c0a52d5e588b | |
parent | 0700c047f66101c7d0d23e3583f1ae9c3c2dd71c [diff] |
ACPI / EC: Fix a race issue in acpi_ec_guard_event() In acpi_ec_guard_event(), EC transaction state machine variables should be checked with the EC spinlock locked. The bug doesn't trigger any real issue now because this bug can only occur when the ec_event_clearing=event mode is applied while there is no user currently using this mode. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>