aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorSeth Forshee <[email protected]>2011-11-16 23:37:45 +0000
committerMatthew Garrett <[email protected]>2011-12-05 18:07:28 +0000
commit11948b9335865dc0ba3a5ca2c9c255291a8d50fb (patch)
treee24f2c1b938d99ab6ed49fdd3ee122b074e3221e /fs/btrfs/async-thread.c
parentx86: Fix boot failures on older AMD CPU's (diff)
downloadkernel-11948b9335865dc0ba3a5ca2c9c255291a8d50fb.tar.gz
kernel-11948b9335865dc0ba3a5ca2c9c255291a8d50fb.zip
toshiba_acpi: Fix machines that don't support HCI_SYSTEM_EVENT
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 <[email protected]> Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions