diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-06-12 15:20:57 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-06-12 15:20:57 +0200 |
commit | cd667ce24796700e1a0e6e7528efc61c96ff832e (patch) | |
tree | 6279001dbecb476588873402668aa761ee2f4a8f /.gitignore | |
parent | a635f9dd83f3382577f4544a96df12356e951a40 (diff) | |
download | op-kernel-dev-cd667ce24796700e1a0e6e7528efc61c96ff832e.zip op-kernel-dev-cd667ce24796700e1a0e6e7528efc61c96ff832e.tar.gz |
HID: use debugfs for events/reports dumping
This is a followup patch to the one implemeting rdesc representation in debugfs
rather than being dependent on compile-time CONFIG_HID_DEBUG setting.
The API of the appropriate formatting functions is slightly modified -- if
they are passed seq_file pointer, the one-shot output for 'rdesc' file mode
is used, and therefore the message is formatted into the corresponding seq_file
immediately.
Otherwise the called function allocated a new buffer, formats the text into the
buffer and returns the pointer to it, so that it can be queued into the ring-buffer
of the processess blocked waiting on input on 'events' file in debugfs.
'debug' parameter to the 'hid' module is now used solely for the prupose of inetrnal
driver state debugging (parser, transport, etc).
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions