Home
last modified time | relevance | path

Searched hist:"5942 b849" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/
H A Duhid.c5942b849 Tue Jul 29 10:14:20 CDT 2014 David Herrmann <dh.herrmann@gmail.com> 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>
5942b849 Tue Jul 29 10:14:20 CDT 2014 David Herrmann <dh.herrmann@gmail.com> 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>