diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-07-29 17:14:20 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-25 03:28:07 -0500 |
commit | 5942b849b124c54002346e699f50db3714e300ed (patch) | |
tree | f49c56e28025b2b8b8650f60a414069e85e5fa18 /drivers/w1/w1_io.c | |
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>
Diffstat (limited to 'drivers/w1/w1_io.c')
0 files changed, 0 insertions, 0 deletions