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.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to