git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cad5b0
)
HID: uhid: invert report_done and make non-atomic
author
David Herrmann
<dh.herrmann@gmail.com>
Tue, 29 Jul 2014 15:14:20 +0000
(17:14 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 25 Aug 2014 08:28:07 +0000
(
03:28
-0500)
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: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
No differences found