diff options
author | Simon Arlott <simon@arlott.org> | 2007-03-06 02:47:45 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:28:34 -0700 |
commit | fa70fe44aba95ce373d7bcd27df4a594b53dcbdc (patch) | |
tree | 9aa3ae5dca5189ca3fb727c0b0ab2d412a7d1a32 /sound | |
parent | e9b8daf31b459acb440647a651b1bda3b30e6188 (diff) |
USB: cxacru: export detailed device info through sysfs
When the device is polled for status there is a lot of useful status
information available that is ignored. This patch stores the device info
array when the status is polled and adds sysfs files to the usb device to
allow userspace to query it. Since the device updates its status
internally once a second the poll time is changed to this, and
round_jiffies_relative is used to avoid waking the cpu unnecessarily.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: Duncan Sands <duncan.sands@free.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions