HID: hidraw: fix signaling SIGIO when hidraw reports an event
authorAndrew Duggan <aduggan@synaptics.com>
Wed, 28 Nov 2012 03:02:27 +0000 (19:02 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 28 Nov 2012 15:36:18 +0000 (16:36 +0100)
commitb5531318f18b5054c0e4a82beb560a77d85948d8
tree6c84c9721fc8a52416a644dba5e81e8faad4cbf7
parent7611e8d26d8dd0e5e132b46e905cb579daf9da1e
HID: hidraw: fix signaling SIGIO when hidraw reports an event

This patch fixes sending SIGIO from hidraw_report_event by creating a fasync
handler which adds the fasync entry.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c