HID: wiimote: Add register/eeprom memory support
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 6 Sep 2011 11:50:33 +0000 (13:50 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Sep 2011 11:25:16 +0000 (13:25 +0200)
commitbe1ecd62e619dae8d7c5b7f212333558fcc85d4d
tree245618c541c20d91109f331aa948412d28ef7284
parent7336b9f93a26082ecb068b5db42b2ed0dbf802bd
HID: wiimote: Add register/eeprom memory support

The wiimote allows direct access to its memory mapped registers and
internal eeprom. This adds support to access this memory and handle
memory events.

There are two macros which wrap up the memory access functions to avoid
accidentally overwriting sensitive eeprom data because a boolean value
was wrongly set.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote.c
This page took 0.027699 seconds and 5 git commands to generate.