diff options
author | Roderick Colenbrander <roderick.colenbrander@sony.com> | 2019-09-05 00:22:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 13:47:32 +0300 |
commit | 16694567a78161aa952cc41cfbc82fc7bf30c47c (patch) | |
tree | 5567602aebecd11f943eb38ed92691df9e59a7da /scripts/prune-kernel | |
parent | 795a176aed880dd75879efa5cc4a8b2483c59c33 (diff) | |
download | linux-16694567a78161aa952cc41cfbc82fc7bf30c47c.tar.xz |
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 'scripts/prune-kernel')
0 files changed, 0 insertions, 0 deletions