commit | 5942b849b124c54002346e699f50db3714e300ed | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Tue Jul 29 17:14:20 2014 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Aug 25 03:28:07 2014 -0500 |
tree | f49c56e28025b2b8b8650f60a414069e85e5fa18 | |
parent | 8cad5b017178bd7fa56d5039478d46964bcd94f7 [diff] |
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: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>