commit | 0d57eb8758c865a70dd05f7c6a857acd996167fa | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Sun May 05 23:13:09 2013 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Jun 03 11:07:06 2013 +0200 |
tree | bbd99a0f26f82e47c85582f0c7157e97c57aa3dc | |
parent | 9f329741a6d7253f044677af00a999b47e85721e [diff] |
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>