diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-03-25 00:28:28 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-04-04 02:23:59 +0300 |
commit | 8cf0adf2f8c3f9f30ba4f1b79e051993aea158d7 (patch) | |
tree | 65117c1c048e81a8cc8e5a93314c80a5d11ff21c /drivers/input/rmi4/rmi_smbus.c | |
parent | f6c4442bfa0812efbb5d54db01a17a7ba0fc9298 (diff) | |
download | linux-8cf0adf2f8c3f9f30ba4f1b79e051993aea158d7.tar.xz |
Input: synaptics-rmi4 - fix handling failures from rmi_enable_sensor
If rmi_enable_sensor() fails in rmi_driver_probe(), we should not return
immediately, but disable IRQs and tear down function list.
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_smbus.c')
0 files changed, 0 insertions, 0 deletions