Fri, 28 Mar 2014 09:42:28 -0700 от Dmitry Torokhov <[email protected]>: > Hi Alexander, > > On Tue, Mar 18, 2014 at 10:02:19PM +0400, Alexander Shiyan wrote: > > + err = input_register_polled_device(poll_dev); > > + if (!err) { > > + /* Report initial state */ > > + clps711x_keypad_poll(poll_dev); > > + > > + return 0; > > + } > > The polled device core will report initial state when input device is > opened (as long as polling is enabled) so I removed this cunk and > applied the rest.
Today I stumbled with race condition with this, so your solution is OK. Thanks. ---
