From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from forward11o.cmail.yandex.net ([37.9.109.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1afVKe-0007jx-3P for barebox@lists.infradead.org; Mon, 14 Mar 2016 16:27:01 +0000 From: Aleksey Kuleshov In-Reply-To: <20160310092619.GK30994@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> <4230541457086688@web17h.yandex.ru> <20160307073016.GG21869@pengutronix.de> <1569051457342206@web17j.yandex.ru> <20160310092619.GK30994@pengutronix.de> MIME-Version: 1.0 Message-Id: <5303551457972793@web8j.yandex.ru> Date: Mon, 14 Mar 2016 19:26:33 +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" R2VuaXVzIFVTQiBrZXlib2FyZCBjYW4ndCB3b3JrIHdpdGggaW50ZXJydXB0IG1zZ3MsIG9ubHkg Y29udHJvbCBtc2dzLgpUaGVuLCB3aXRoIGNvbnRyb2wgbXNncyBpZiB0aGVyZSB3ZXJlIG5vIHJl cG9ydCByZXF1ZXN0cyBkdXJpbmcgfjEwIHNlY3MsIEVIQ0kgc3RhY2sKaW4gQmFyZWJveCByZXBv cnRzICJ0aW1lb3V0IGVycm9yIiBpbmZpbml0ZWx5IHVudGlsICd1c2InIGNvbW1hbmQgd2lsbCBi ZSBleGVjdHVlZAooaS5lLiB1bnRpbCBFSENJIGhhbHQgKyByZXNldCkuCgpTbzoKCjEpIHVzYl9r YmQgY2FuIGRldGVjdCAidGltZW91dCBlcnJvciIgKG9yIHNvbWUgb3Ro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2 LT5zdGFydCwgaWRldi0+dGltZW91dCkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgbGlzdF9m b3JfZWFjaF9lbnRyeShpbiwgJmlucHV0X2NvbnN1bWVycywgbGlzdCkKICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBpbi0+bm90aWZ5KGluLCAmaWRldi0+ZXZlbnQpOwogICAgICAgICAg ICAgICAgICAgICAgICBpZGV2LT50aW1lb3V0ID0gNDAgKiBNU0VDT05EOwogICAgICAgICAgICAg ICAgICAgICAgICBpZGV2LT5zdGFydCA9IGdldF90aW1lX25zKCk7CiAgICAgICAgICAgICAgICB9 CiAgICAgICAgfQoKICAgICAgICBwb2xsZXJfY2FsbF9hc3luYygmaW5wdXRfcG9sbGVyLCAxMCAq IE1TRUNPTkQsIGlucHV0X2RldmljZXNfcG9sbGVyX2Z1bmMsIE5VTEwpOwp9CgpBbmQgdGhhdCdz IGFsbCB3aGF0IEkgY2FuIHNheSBhYm91dCBFSENJL2lucHV0L3VzYl9rYmQgc28gZmFyLgoKX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYmFyZWJveCBtYWls aW5nIGxpc3QKYmFyZWJveEBsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6Ly9saXN0cy5pbmZyYWRl YWQub3JnL21haWxtYW4vbGlzdGluZm8vYmFyZWJveAo=