[PATCH synaptics 4/4] When resetting, reset the open slots to -1

Keith Packard keithp at keithp.com
Sun Sep 14 22:32:18 PDT 2014


Peter Hutterer <peter.hutterer at who-t.net> writes:

> open_slots holds the slot index, resetting it to 0 is a bad idea. And make
> sure that we do reset after DEVICE_INIT. We already do so on DEVICE_CLOSE, but
> after the first DEVICE_ON the data could still be random.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

For the series:

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140914/1de2e228/attachment.sig>


More information about the xorg-devel mailing list