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