diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-10-17 21:45:17 -0700 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-10-18 15:29:56 +0200 |
commit | 08c453f6d073f069cf8e30e03cd3c16262c9b953 (patch) | |
tree | 639285659ab55ba6e63b1811ab982357330adfad /drivers/hid/hid-sensor-custom.c | |
parent | 905d754c53a522aacf806ea1d3e7c929148c1910 (diff) | |
download | lwn-08c453f6d073f069cf8e30e03cd3c16262c9b953.tar.gz lwn-08c453f6d073f069cf8e30e03cd3c16262c9b953.zip |
HID: logitech-hidpp: do all FF cleanup in hidpp_ff_destroy()
All of the FF-related resources belong to corresponding FF device, so
they should be freed as a part of hidpp_ff_destroy() to avoid
potential race condidions.
Fixes: ff21a635dd1a ("HID: logitech-hidpp: Force feedback support for the Logitech G920")
Suggested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Henrik Rydberg <rydberg@bitmath.org>
Cc: Pierre-Loup A. Griffais <pgriffais@valvesoftware.com>
Cc: Austin Palmer <austinp@valvesoftware.com>
Cc: linux-input@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # 5.2+
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-sensor-custom.c')
0 files changed, 0 insertions, 0 deletions