summaryrefslogtreecommitdiff
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2019-09-04 14:22:11 -0700
committerJiri Kosina <jkosina@suse.cz>2019-09-05 14:27:14 +0200
commit2bcdacb70327013ca2066bfcf2af1009eff01f1d (patch)
tree2b2b8fb90f099fbef9ac4fc366415df369c88957 /tools/testing/selftests
parentb20bef4b4be8a0a031049cc552c52e9d4e70ef00 (diff)
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/testing/selftests')
0 files changed, 0 insertions, 0 deletions