From: Frank Praznik Date: Wed, 19 Feb 2014 18:09:22 +0000 (-0500) Subject: HID: sony: Fix work queue issues. X-Git-Tag: v3.14-rc8~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5750d2e471866576225c3af28eedfadebb0765;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed