Re: [PATCH] Input: do not emit unneeded EV_SYN when suspending

From: Benson Leung
Date: Fri Aug 07 2015 - 00:10:43 EST


On Thu, Aug 6, 2015 at 7:26 PM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> Do not emit EV_SYN/SYN_REPORT on suspend if there were no keys that are
> still pressed as we are suspending the device.

It looks like input_dev_release_keys is used in several other places
other than input_dev_suspend (reset, disconnect, freeze), so maybe
change the commit message to reflect that?

Otherwise, LGTM.


--
Benson Leung
Software Engineer, Chrom* OS
bleung@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/