summaryrefslogtreecommitdiff
path: root/flowtop.8
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.8')
0 files changed, 0 insertions, 0 deletions
8&id2=c46fab28703bf12772b3bdbeabcf90df9cd20d58'>diff)
HID: thingm: improve locking
Reading from the device consists of two operations: sending the read command and the actual read from the device. If the device is accessed in between we might read wrong data. Therefore protect the full sequence of both operations with a mutex. Also change the semantics of thingm_recv to include both operations. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat