summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-08 00:45:05 +0100
committerJiri Kosina <jkosina@suse.cz>2017-03-21 15:11:56 +0100
commitb53227360dc2e30fb8809815dfdc39339a34b8dd (patch)
treec2771c53a58da299f59006811333f046c1d9fc44 /block
parentHID: sony: Treat the ds4 dongle as a separate device (diff)
downloadlinux-b53227360dc2e30fb8809815dfdc39339a34b8dd.tar.xz
linux-b53227360dc2e30fb8809815dfdc39339a34b8dd.zip
HID: sony: Make work handling more generic
The driver currently uses sony_schedule_work to submit output reports for the different devices for LEDs or rumble. This patch adds a new parameter to sony_schedule_work to allow scheduling for other types of work. The next patch in this series will utilize this functionality. Considering the driver structure and all error handling it felt best to reuse sony_schedule_work and sony_cancel_work. The idea was inspired by the wacom driver which does something similar. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions