From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from forward19h.cmail.yandex.net ([2a02:6b8:0:f35::a4]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1abmop-0002Ke-Qa for barebox@lists.infradead.org; Fri, 04 Mar 2016 10:18:49 +0000 From: Aleksey Kuleshov In-Reply-To: <20160304071921.GD21869@pengutronix.de> References: <1457018230-4554-1-git-send-email-rndfax@yandex.ru> <1457018230-4554-2-git-send-email-rndfax@yandex.ru> <20160304071921.GD21869@pengutronix.de> MIME-Version: 1.0 Message-Id: <4230541457086688@web17h.yandex.ru> Date: Fri, 04 Mar 2016 13:18:08 +0300 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/2] input: make the Input Core be the last in the poller queue To: Sascha Hauer Cc: "barebox@lists.infradead.org" SGkgU2FzY2hhLAoKMDQuMDMuMjAxNiwgMTA6MTksICJTYXNjaGEgSGF1ZXIiIDxzLmhhdWVyQHBl bmd1dHJvbml4LmRlPjoKPiBPbiBUaHUsIE1hciAwMywgMjAxNiBhdCAwNjoxNzoxMFBNICswMzAw LCBBbGVrc2V5IEt1bGVzaG92IHdyb3RlOgo+PiCaVGhpcyBwcmV2ZW50cyB0aGUgY2FzZSB3aGVu IElucHV0IENvcmUgYW5kIGV2ZW50IHByb3ZpZGVycwo+PiCaaGF2ZSB0byBydW4gImF0IG9uZSB0 aW1lIiBzbyBJbnB1dCBDb3JlIHdpbGwgd29yayB3aXRoIG5vbi1yZWxldmFudAo+PiCaZGF0YSBz aW5jZSBpdCB3aWxsIGJlIGNhbGxlZCBmaXJzdC4KPj4gmi0tLQo+PiCammRyaXZlcnMvaW5wdXQv aW5wdXQuYyB8IDMgKystCj4+IJqaMSBmaWxlIGNoYW5nZWQsIDIg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