[SRU][F/G][PATCH] Fix Sony Dualshock 4 crashes systems
alex.hung at canonical.com
Thu Jul 15 19:30:32 UTC 2021
Sony Dualshock 4 controller crashes systems. This is the result of a
divide by zero when the driver processes requests from Steam and returns
invalid data. More details are in the patch description.
Check whether data is valid and retry up to 3 times if needed.
Tested by the bug reporter of LP:1935846. No more crashes after applying
[Where problems could occur]
None. The patch checks whether data is valid and retry 3 times before
return -EILSEQ if it still fails.
Roderick Colenbrander (1):
HID: sony: Workaround for DS4 dongle hotplug kernel crash.
drivers/hid/hid-sony.c | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
More information about the kernel-team