Thread (15 messages) 15 messages, 4 authors, 2013-12-26
DORMANTno replies

Re: [PATCH 1/5] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

From: Dmitry Torokhov <hidden>
Date: 2013-12-26 23:30:00
Also in: linux-arm-kernel

On Thu, Dec 26, 2013 at 11:33:06PM +0100, Hans de Goede wrote:
On 12/26/2013 11:15 PM, Dmitry Torokhov wrote:
quoted
Are we 1000% sure that the device is quiesced here and we will not get a
stray interrupt? Even if we are sure I'd still rather allocate input
device earlier, together with ts structure.
I will change things to allocate the input device earlier. What about
registering it, when is the best time to do that?
The common pattern for the most input drivers is to register it last,
but that usually matters when you are not using managed input devices
since it helps making error unwinding path simpler. I'd still register
it last just so it looks the same as the rest of the drivers.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help