Re: [PATCH v2 2/3] auxdisplay: ht16k33: rework input device initialization

2017-02-10 Thread Robin van der Gracht
On Thu, 9 Feb 2017 10:15:52 -0800 Dmitry Torokhov wrote: > This patch fixes following issues in input device (keypad) handling: > > - requesting IRQ before allocating and initializing parts of the device > that can be referenced from IRQ handler is racy, even if we try to > disable interrup

[PATCH v2 2/3] auxdisplay: ht16k33: rework input device initialization

2017-02-09 Thread Dmitry Torokhov
This patch fixes following issues in input device (keypad) handling: - requesting IRQ before allocating and initializing parts of the device that can be referenced from IRQ handler is racy, even if we try to disable interrupt after requesting it. Let's move allocations around so that everyth