diff options
author | Frank Praznik <frank.praznik@oh.rr.com> | 2014-02-20 17:36:01 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-02-24 17:38:45 +0100 |
commit | c8de9dbb35d3e4efce2bce513192f34ca962d8c0 (patch) | |
tree | 11c9489e0754cac1441ae368cf2ea244d8d809e2 /drivers/Kconfig | |
parent | HID: sony: Fix multi-line comment styling (diff) | |
download | linux-c8de9dbb35d3e4efce2bce513192f34ca962d8c0.tar.xz linux-c8de9dbb35d3e4efce2bce513192f34ca962d8c0.zip |
HID: sony: Fix work queue issues
Only initialize force feedback for devices that actually support it (Sixaxis and
Dualshock 4) to prevent calls to schedule_work() with an uninitialized work
queue.
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 the sony_destroy_ff() function since it is no longer used.
Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions