mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 03:33:01 +09:00
commit53c5eaabaeupstream. Originally the Samsung quirks removed by commit4c237371can be covered by commite923e8e7and ec_freeze_events=Y mode. But commit9c40f956changed ec_freeze_events=Y back to N, making this problem re-surface. Actually, if commite923e8e7is robust enough, we can freely change ec_freeze_events mode, so this patch fixes the issue by improving commite923e8e7. Related commits listed in the merged order: Commit:e923e8e79eSubject: ACPI / EC: Fix an issue that SCI_EVT cannot be detected after event is enabled Commit:4c237371f2Subject: ACPI / EC: Remove old CLEAR_ON_RESUME quirk Commit:9c40f956ceSubject: Revert "ACPI / EC: Enable event freeze mode..." to fix a regression This patch not only fixes the reported post-resume EC event triggering source issue, but also fixes an unreported similar issue related to the driver bind by adding EC event triggering source in ec_install_handlers(). Fixes:e923e8e79e(ACPI / EC: Fix an issue that SCI_EVT cannot be detected after event is enabled) Fixes:4c237371f2(ACPI / EC: Remove old CLEAR_ON_RESUME quirk) Fixes:9c40f956ce(Revert "ACPI / EC: Enable event freeze mode..." to fix a regression) Link: https://bugzilla.kernel.org/show_bug.cgi?id=196833 Signed-off-by: Lv Zheng <lv.zheng@intel.com> Reported-by: Alistair Hamilton <ahpatent@gmail.com> Tested-by: Alistair Hamilton <ahpatent@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>