Home
last modified time | relevance | path

Searched hist:"0 d57eb87" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dhid-wiimote-debug.c0d57eb87 Sun May 05 16:13:09 CDT 2013 David Herrmann <dh.herrmann@gmail.com> HID: wiimote: fix DRM debug-attr to correctly parse input

We need to correctly zero-terminate the input to parse it. Otherwise, we
always end up interpreting it as numbers.
Furthermore, we actually want hexadecimal numbers instead of decimal. As
it is a debugfs interface, we can change the API at any time.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
0d57eb87 Sun May 05 16:13:09 CDT 2013 David Herrmann <dh.herrmann@gmail.com> HID: wiimote: fix DRM debug-attr to correctly parse input

We need to correctly zero-terminate the input to parse it. Otherwise, we
always end up interpreting it as numbers.
Furthermore, we actually want hexadecimal numbers instead of decimal. As
it is a debugfs interface, we can change the API at any time.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>