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]

 



Fri, 28 Mar 2014 09:42:28 -0700 от Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>:
> 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.

---

��.n��������+%������w��{.n�����{��)��^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�


[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