APPLIED[F]: [SRU][F/G][PATCH] Fix Sony Dualshock 4 crashes systems
Kelsey Skunberg
kelsey.skunberg at canonical.com
Fri Aug 6 21:21:42 UTC 2021
Applied to Focal master-next. Thank you!
-Kelsey
On 2021-07-15 13:30:32 , Alex Hung wrote:
> BugLink: https://bugs.launchpad.net/bugs/1935846
>
> [Impact]
>
> 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.
>
> [Fix]
>
> Check whether data is valid and retry up to 3 times if needed.
>
> [Test Case]
>
> Tested by the bug reporter of LP:1935846. No more crashes after applying
> this patch.
>
> [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(-)
>
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list