The Satellite C670-10V generates notifications for hotkeys but does not support HCI_SYSTEM_EVENT. As a result when a hotkey is pressed it gets stuck in an infinite loop in toshiba_acpi_notify. To fix this, detect whether or not HCI_SYSTEM_EVENT is supported up-front and don't try to read system events if it isn't supported. In addition, limit the number of retries when reading HCI_SYSTEM_EVENT fails so that this loop cannot run unbounded. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Matthew Garrett <mjg@redhat.com> |
||
|---|---|---|
| .. | ||
| acer-wmi.c | ||
| acerhdf.c | ||
| asus-laptop.c | ||
| asus-nb-wmi.c | ||
| asus-wmi.c | ||
| asus-wmi.h | ||
| asus_acpi.c | ||
| classmate-laptop.c | ||
| compal-laptop.c | ||
| dell-laptop.c | ||
| dell-wmi-aio.c | ||
| dell-wmi.c | ||
| eeepc-laptop.c | ||
| eeepc-wmi.c | ||
| fujitsu-laptop.c | ||
| hdaps.c | ||
| hp-wmi.c | ||
| hp_accel.c | ||
| ibm_rtl.c | ||
| ideapad-laptop.c | ||
| intel_ips.c | ||
| intel_ips.h | ||
| intel_menlow.c | ||
| intel_mid_powerbtn.c | ||
| intel_mid_thermal.c | ||
| intel_oaktrail.c | ||
| intel_pmic_gpio.c | ||
| intel_rar_register.c | ||
| intel_scu_ipc.c | ||
| intel_scu_ipcutil.c | ||
| Kconfig | ||
| Makefile | ||
| msi-laptop.c | ||
| msi-wmi.c | ||
| mxm-wmi.c | ||
| panasonic-laptop.c | ||
| samsung-laptop.c | ||
| samsung-q10.c | ||
| sony-laptop.c | ||
| tc1100-wmi.c | ||
| thinkpad_acpi.c | ||
| topstar-laptop.c | ||
| toshiba_acpi.c | ||
| toshiba_bluetooth.c | ||
| wmi.c | ||
| xo1-rfkill.c | ||
| xo15-ebook.c | ||