Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01a9c2da authored by Anshul Garg's avatar Anshul Garg Committed by Matt Wagantall
Browse files

Input: optimize events_per_packet count calculation



This patch avoids unnecessary operations while estimating events per
packet for an input device when event type is not set.

Change-Id: I913be1e5356d5ca7d3047e6b0413069993c2921c
Signed-off-by: default avatarAnshul Garg <anshul.g@samsung.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Git-commit: baf332c0f1cede26e9c2af6276b36b4c3a36e34a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent ef0d0e07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment