Input: uinput - support injecting multiple events in one write() call
authorRyan Mallon <rmallon@gmail.com>
Wed, 18 Sep 2013 19:40:47 +0000 (12:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 19 Sep 2013 15:57:56 +0000 (08:57 -0700)
commitcbf0541374e2fcfdfdcaf8365c957a137eb9feea
tree04cc9e72bbf9c6298c7cc415452d161724e832ea
parent8474caddccedcbf6da59f3ed3bc5c4d9442f8e5d
Input: uinput - support injecting multiple events in one write() call

Rework the code in uinput_inject_event so that it matches the code in
evdev_write and allows injecting more than one event, or zero events.

Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/uinput.c