From: Frank Praznik Date: Thu, 20 Feb 2014 16:36:01 +0000 (-0500) Subject: HID: sony: Fix work queue issues X-Git-Tag: v3.15-rc1~114^2~1^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8de9dbb35d3e4efce2bce513192f34ca962d8c0;p=pandora-kernel.git 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 Reviewed-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed