diff options
author | Frank Praznik <frank.praznik@oh.rr.com> | 2014-02-19 13:09:22 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-02-20 14:14:03 +0100 |
commit | 5f5750d2e471866576225c3af28eedfadebb0765 (patch) | |
tree | 2ffd790fd4a3e012ddcf6af6c4556e6a935a6b94 /drivers/leds | |
parent | 3ccfd0a8d7062a5590923578eea829ee582beba8 (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/leds')
0 files changed, 0 insertions, 0 deletions