HID: playstation: DS4: Don't fail on FW/HW version request
authorMax Staudt <max@enpas.org>
Wed, 7 Feb 2024 16:36:44 +0000 (01:36 +0900)
committerJiri Kosina <jkosina@suse.com>
Wed, 3 Apr 2024 19:53:39 +0000 (21:53 +0200)
commit46089080a8e1c9a16c5967063986f31031bd218f
tree4d69321e3a61f9bf0ef2b0e40c4fb60e0666e780
parent8f39af37eb18b03cbd5ea3b01c8eea26280b3b3f
HID: playstation: DS4: Don't fail on FW/HW version request

Some third-party controllers can't report firmware/hardware version.

Unlike for the DualSense, the driver does not use these values for
anything in the DualShock 4 case, but merely exposes them via sysfs.
They will simply be 0x0.

Signed-off-by: Max Staudt <max@enpas.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-playstation.c