summaryrefslogtreecommitdiff
path: root/drivers/input/mouse
diff options
context:
space:
mode:
authorRonald Tschalär <ronald@innovation.ch>2021-02-19 22:10:51 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-02-19 22:13:27 +0300
commit0ce1ac23149c6da939a5926c098c270c58c317a0 (patch)
treeca98504956f52524313cff5d0bb6effbdcfb8688 /drivers/input/mouse
parent836f308cb5c72d48e2dff8d3e64c3adb94f4710d (diff)
downloadlinux-0ce1ac23149c6da939a5926c098c270c58c317a0.tar.xz
Input: applespi - don't wait for responses to commands indefinitely.
The response to a command may never arrive or it may be corrupted (and hence dropped) for some reason. While exceedingly rare, when it did happen it blocked all further commands. One way to fix this was to do a suspend/resume. However, recovering automatically seems like a nicer option. Hence this puts a time limit (1 sec) on how long we're willing to wait for a response, after which we assume it got lost. Signed-off-by: Ronald Tschalär <ronald@innovation.ch> Link: https://lore.kernel.org/r/20210217190718.11035-1-ronald@innovation.ch Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse')
0 files changed, 0 insertions, 0 deletions