Re: [PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

2015-11-10 Thread Benjamin Tissoires
On Tue, Nov 10, 2015 at 12:16 AM, Dmitry Torokhov wrote: > On Thu, Nov 05, 2015 at 03:37:25PM -0800, Andrew Duggan wrote: >> From: Benjamin Tissoires >> >> If the device has been registered but is not populated, we should not >> process any incoming interrupt. >> Make sure the pointers we are fol

Re: [PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

2015-11-09 Thread Dmitry Torokhov
On Thu, Nov 05, 2015 at 03:37:25PM -0800, Andrew Duggan wrote: > From: Benjamin Tissoires > > If the device has been registered but is not populated, we should not > process any incoming interrupt. > Make sure the pointers we are following are valid. Why are the interrupts enabled when device is

Re: [PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:37 AM, Andrew Duggan wrote: > From: Benjamin Tissoires > > If the device has been registered but is not populated, we should not > process any incoming interrupt. > Make sure the pointers we are following are valid. > > Signed-off-by: Benjamin Tissoires > Tested-by: An

[PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

2015-11-05 Thread Andrew Duggan
From: Benjamin Tissoires If the device has been registered but is not populated, we should not process any incoming interrupt. Make sure the pointers we are following are valid. Signed-off-by: Benjamin Tissoires Tested-by: Andrew Duggan --- drivers/input/rmi4/rmi_driver.c | 3 +++ 1 file chan

[PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

2015-11-05 Thread Andrew Duggan
From: Benjamin Tissoires If the device has been registered but is not populated, we should not process any incoming interrupt. Make sure the pointers we are following are valid. Signed-off-by: Benjamin Tissoires Tested-by: Andrew Duggan --- drivers/input/rmi4/rmi_driver.c | 3 +++ 1 file chan