diff options
author | Roderick Colenbrander <roderick.colenbrander@sony.com> | 2019-09-04 14:22:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-01 09:01:37 +0200 |
commit | a069e96b5280177ee73732f42aabfddb1483dd45 (patch) | |
tree | 91173629950f859688e29b10484e08a5736cec31 /drivers/hid/hid-lg4ff.c | |
parent | 5f2ba05924ca5c4ff668e7404db281779f2633de (diff) | |
download | linux-stable-a069e96b5280177ee73732f42aabfddb1483dd45.tar.gz linux-stable-a069e96b5280177ee73732f42aabfddb1483dd45.tar.bz2 linux-stable-a069e96b5280177ee73732f42aabfddb1483dd45.zip |
HID: sony: Fix memory corruption issue on cleanup.
commit 2bcdacb70327013ca2066bfcf2af1009eff01f1d upstream.
The sony driver is not properly cleaning up from potential failures in
sony_input_configured. Currently it calls hid_hw_stop, while hid_connect
is still running. This is not a good idea, instead hid_hw_stop should
be moved to sony_probe. Similar changes were recently made to Logitech
drivers, which were also doing improper cleanup.
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
CC: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-lg4ff.c')
0 files changed, 0 insertions, 0 deletions