Skip to content
Commit 5942b849 authored by David Rheinsberg's avatar David Rheinsberg Committed by Jiri Kosina
Browse files

HID: uhid: invert report_done and make non-atomic



All accesses to @report_done are protected by qlock (or report-contexts).
No need to use an atomic.

While at it, invert the logic and call it "report_running". This is
similar to the uhid->running field and easier to read.

Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8cad5b01
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment