diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-07-05 11:45:18 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-11 12:30:24 (GMT) |
commit | 32a0d9a522b577d0efa6ce793a6ac0516c5e3627 (patch) | |
tree | 901b90f2c9488d10359c71a64875bac862eb938d /init/do_mounts.c | |
parent | db3083467f1527816fca95ae2d8bfe5d81503a8e (diff) | |
download | linux-fsl-qoriq-32a0d9a522b577d0efa6ce793a6ac0516c5e3627.tar.xz |
HID: wiimote: Cache wiimote led state
Save the current state of the leds in the wiimote data structure. This
allows us to discard new led requests that wouldn't change anything.
Protect the whole state structure by a spinlock. Every wiiproto_*
function expects this spinlock to be held when called.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions