Re: [PATCH v3 1/2] input: Add new driver for ARM CLPS711X keypad

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux