Input: synaptics-rmi4 - do not delete interrupt memory too early
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 Jan 2018 00:18:27 +0000 (16:18 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Jan 2018 00:27:22 +0000 (16:27 -0800)
commita1ab69021a584d952e6548a44b93760547b1b6b5
tree9cc74ad4e30fbc30d3506c89306fce7c519e13f1
parentfbe6a536cf9c71ac02b763b76ad7395132d4ecbc
Input: synaptics-rmi4 - do not delete interrupt memory too early

We want to free memory reserved for interrupt mask handling only after we
free functions, as function drivers might want to mask interrupts. This is
needed for the followup patch to the F03 that would implement unmasking and
masking interrupts from the serio pass-through port open() and close()
methods.

Cc: stable@vger.kernel.org
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_driver.c