From: Jeff Brown <jeffbrown@android.com>
To: dmitry.torokhov@gmail.com, rydberg@euromail.se, djkurtz@google.com
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
Jeff Brown <jeffbrown@google.com>,
jeffbrown@android.com
Subject: [PATCH v2 2/4] hid: hid-input: Remove obsolete default events per packet setting.
Date: Fri, 1 Apr 2011 23:54:17 -0700 [thread overview]
Message-ID: <1301727259-5185-2-git-send-email-jeffbrown@android.com> (raw)
In-Reply-To: <1301727259-5185-1-git-send-email-jeffbrown@android.com>
From: Jeff Brown <jeffbrown@google.com>
The hardcoded default is no longer needed because the input core now
calculates an appropriate value when the input device is registered.
Signed-off-by: jeffbrown@android.com
---
drivers/hid/hid-input.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 33dde87..4b348e0 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -665,10 +665,6 @@ mapped:
input_abs_set_res(input, usage->code,
hidinput_calc_abs_res(field, usage->code));
-
- /* use a larger default input buffer for MT devices */
- if (usage->code == ABS_MT_POSITION_X && input->hint_events_per_packet == 0)
- input_set_events_per_packet(input, 60);
}
if (usage->type == EV_ABS &&
--
1.7.0.4
next prev parent reply other threads:[~2011-04-02 6:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 6:54 [PATCH v2 1/4] input: Set default events per packet Jeff Brown
2011-04-02 6:54 ` Jeff Brown [this message]
2011-04-05 12:20 ` [PATCH v2 2/4] hid: hid-input: Remove obsolete default events per packet setting Henrik Rydberg
2011-04-02 6:54 ` [PATCH v2 3/4] input: evdev: Indicate buffer overrun with SYN_DROPPED Jeff Brown
2011-04-04 21:33 ` Dmitry Torokhov
2011-04-04 21:52 ` Jeffrey Brown
2011-04-05 11:41 ` Henrik Rydberg
2011-04-02 6:54 ` [PATCH v2 4/4] input: evdev: Make device readable only when it contains a complete packet Jeff Brown
2011-04-04 21:36 ` Dmitry Torokhov
2011-04-04 22:16 ` Jeffrey Brown
2011-04-04 22:46 ` Dmitry Torokhov
2011-04-05 0:34 ` Jeffrey Brown
2011-04-05 12:03 ` Henrik Rydberg
2011-04-05 16:32 ` Dmitry Torokhov
2011-04-05 16:38 ` Dmitry Torokhov
2011-04-11 20:15 ` Jeffrey Brown
2011-04-05 12:16 ` [PATCH v2 1/4] input: Set default events per packet Henrik Rydberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1301727259-5185-2-git-send-email-jeffbrown@android.com \
--to=jeffbrown@android.com \
--cc=djkurtz@google.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jeffbrown@google.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@euromail.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox