summaryrefslogtreecommitdiff
path: root/Documentation/cpu-freq
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2015-04-08 20:56:48 (GMT)
committerJiri Kosina <jkosina@suse.cz>2015-05-07 14:27:16 (GMT)
commitc918fe781fab6d8bdc35f1652dc4f95f2bf6950d (patch)
tree5211b34bcc04c0460949ed3b72382213f582e6af /Documentation/cpu-freq
parentb211a6388ca279a16a6627da2f3681a2cab18444 (diff)
downloadlinux-c918fe781fab6d8bdc35f1652dc4f95f2bf6950d.tar.xz
HID: hid-lg4ff: Protect concurrent access to output HID report
Protect concurrent access to output HID report with a spinlock. The HID report structure used to submit commands to wheels is shared amongst all functions that need to do so and some of these functions can be executed in parallel. Additionally, lg4ff_play() can be called from interrupt context by ff-memless module. Locking is necessary to prevent sending bogus data to the wheels. Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/cpu-freq')
0 files changed, 0 insertions, 0 deletions