Re: [PATCH] Input: synaptics - clear device info before filling in

2017-05-29 Thread Dmitry Torokhov
On Sun, May 28, 2017 at 10:27:07PM -0700, Eric Biggers wrote: > From: Eric Biggers > > synaptics_query_hardware() was being passed a > 'struct synaptics_device_info' in uninitialized stack memory, then not > always initializing all fields. This caused garbage to show up in > certain fields, maki

[PATCH] Input: synaptics - clear device info before filling in

2017-05-28 Thread Eric Biggers
From: Eric Biggers synaptics_query_hardware() was being passed a 'struct synaptics_device_info' in uninitialized stack memory, then not always initializing all fields. This caused garbage to show up in certain fields, making the touchpad unusable. Fix by zeroing the device info, so all fields d