Many MT devices send a number of keys along with the mt information.
This patch makes sure that there is room for them in the packet
buffer.
Signed-off-by: Henrik Rydberg
---
drivers/input/input.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/input/input.
On Sun, Aug 12, 2012 at 2:42 PM, Henrik Rydberg wrote:
> Many MT devices send a number of keys along with the mt information.
> This patch makes sure that there is room for them in the packet
> buffer.
>
> Signed-off-by: Henrik Rydberg
> ---
> drivers/input/input.c | 10 +++---
> 1 file chan
On Tuesday, August 14, 2012 12:32:21 PM Ping Cheng wrote:
> On Sun, Aug 12, 2012 at 2:42 PM, Henrik Rydberg wrote:
> > Many MT devices send a number of keys along with the mt information.
> > This patch makes sure that there is room for them in the packet
> > buffer.
> >
> > Signed-off-by: Henrik
Hi Ping,
Long time no see. :-)
> > + /* Make room for KEY and MSC events */
> > + events += 7;
>
> It is nice to get rid of the redundant pieces and to incorporate
> common functions. Thank you.
>
> I have a question about the code above though. Why do we use 7
> instead of going t
On Tue, Aug 14, 2012 at 12:53 PM, Dmitry Torokhov
wrote:
> On Tuesday, August 14, 2012 12:32:21 PM Ping Cheng wrote:
>> On Sun, Aug 12, 2012 at 2:42 PM, Henrik Rydberg wrote:
>> > Many MT devices send a number of keys along with the mt information.
>> > This patch makes sure that there is room fo
On Tue, Aug 14, 2012 at 1:01 PM, Henrik Rydberg wrote:
> Hi Ping,
>
> Long time no see. :-)
>
>> > + /* Make room for KEY and MSC events */
>> > + events += 7;
>>
>> It is nice to get rid of the redundant pieces and to incorporate
>> common functions. Thank you.
>>
>> I have a question
On Tue, Aug 14, 2012 at 01:50:38PM -0700, Ping Cheng wrote:
> On Tue, Aug 14, 2012 at 12:53 PM, Dmitry Torokhov
> wrote:
> > On Tuesday, August 14, 2012 12:32:21 PM Ping Cheng wrote:
> >> On Sun, Aug 12, 2012 at 2:42 PM, Henrik Rydberg
> >> wrote:
> >> > Many MT devices send a number of keys alo
On Tue, Aug 14, 2012 at 2:12 PM, Dmitry Torokhov
wrote:
> >> On Sun, Aug 12, 2012 at 2:42 PM, Henrik Rydberg
> >> wrote:
> >> > Many MT devices send a number of keys along with the mt information.
> >> > This patch makes sure that there is room for them in the packet
> >> > buffer.
>>
>> So, wha