RE: [PATCH] input: keyboard: snvs: make sure irq is handled correctly

2019-03-26 Thread Anson Huang
imx > Subject: Re: [PATCH] input: keyboard: snvs: make sure irq is handled > correctly > > Hi Anson, > > On Wed, Mar 27, 2019 at 02:47:06AM +, Anson Huang wrote: > > SNVS IRQ is requested before necessary driver data initialized, if > > there is a pending IRQ during d

Re: [PATCH] input: keyboard: snvs: make sure irq is handled correctly

2019-03-26 Thread dmitry.torok...@gmail.com
Hi Anson, On Wed, Mar 27, 2019 at 02:47:06AM +, Anson Huang wrote: > SNVS IRQ is requested before necessary driver data initialized, > if there is a pending IRQ during driver probe phase, kernel > NULL pointer panic will occur in IRQ handler. To avoid such > scenario, need to move the IRQ

[PATCH] input: keyboard: snvs: make sure irq is handled correctly

2019-03-26 Thread Anson Huang
SNVS IRQ is requested before necessary driver data initialized, if there is a pending IRQ during driver probe phase, kernel NULL pointer panic will occur in IRQ handler. To avoid such scenario, need to move the IRQ request to after driver data initialization done. This patch is inspired by NXP's