Re: [PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-18 Thread Dmitry Torokhov
Ryan Mallon wrote: >On 19/09/13 05:48, Dmitry Torokhov wrote: > >> Hi Ryan, >> >> On Wed, Sep 18, 2013 at 08:55:44AM +1000, Ryan Mallon wrote: >>> 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. >>

Re: [PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-18 Thread Ryan Mallon
On 19/09/13 05:48, Dmitry Torokhov wrote: > Hi Ryan, > > On Wed, Sep 18, 2013 at 08:55:44AM +1000, Ryan Mallon wrote: >> 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. > > After some thinking I went b

Re: [PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-18 Thread Dmitry Torokhov
Hi Ryan, On Wed, Sep 18, 2013 at 08:55:44AM +1000, Ryan Mallon wrote: > 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. After some thinking I went back to the original version of your patch. For justific

[PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-17 Thread Ryan Mallon
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 --- drivers/input/misc/uinput.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers