diff options
author | Roderick Colenbrander <roderick.colenbrander@sony.com> | 2019-09-05 00:22:11 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-09-05 15:27:14 +0300 |
commit | 2bcdacb70327013ca2066bfcf2af1009eff01f1d (patch) | |
tree | 2b2b8fb90f099fbef9ac4fc366415df369c88957 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b20bef4b4be8a0a031049cc552c52e9d4e70ef00 (diff) | |
download | linux-2bcdacb70327013ca2066bfcf2af1009eff01f1d.tar.xz |
HID: sony: Fix memory corruption issue on cleanup.
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions