summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-dr.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-06-15 10:13:29 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-07-15 16:45:29 +0100
commit070f3f6baef5c749e8b11be0455fc90113dfdde8 (patch)
treeafa77655b8bb0aeda93dfe59ec3115b2bc5c09ba /drivers/hid/hid-dr.c
parentb953c0d234bc72e8489d3bf51a276c5c4ec85345 (diff)
drm/armada: fix missing overlay wake-up
Nothing was waking up the overlay plane wait queue, so we were fully reliant on the HZ/25 wait timing out to make progress. Fix the lack of wake-up. We were also mis-handling the wait_event_timeout() return value - this returns an unsigned integer of the remaining time, or zero on timeout and the condition evaluated false. Checking this for less than zero is not sane. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/hid/hid-dr.c')
0 files changed, 0 insertions, 0 deletions