summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-wiimote-debug.c
diff options
context:
space:
mode:
authorFrank Praznik <frank.praznik@oh.rr.com>2014-02-19 13:09:22 -0500
committerJiri Kosina <jkosina@suse.cz>2014-02-20 14:14:03 +0100
commit5f5750d2e471866576225c3af28eedfadebb0765 (patch)
tree2ffd790fd4a3e012ddcf6af6c4556e6a935a6b94 /drivers/hid/hid-wiimote-debug.c
parent3ccfd0a8d7062a5590923578eea829ee582beba8 (diff)
HID: sony: Fix work queue issues.
Don't initialize force-feedback for devices that don't support it to avoid calls to schedule_work() with an uninitialized work_struct. Move the cancel_work_sync() call out of sony_destroy_ff() since the state worker is used for the LEDs even when force-feedback is disabled. Remove sony_destroy_ff() to avoid a compiler warning since it is no longer used. Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wiimote-debug.c')
0 files changed, 0 insertions, 0 deletions