HID: playstation: report DualSense hardware and firmware version.
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Sun, 7 Feb 2021 21:49:08 +0000 (13:49 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 17 Feb 2021 17:34:49 +0000 (18:34 +0100)
commit0b25b55d34f554b43a679e7e1303beb973b63e27
tree7af6fa14bbe6de8295dd2ab65d3c66179829f1f5
parent51151098d7ab832f2a8b8f5c51fe224a9c98fdd5
HID: playstation: report DualSense hardware and firmware version.

Retrieve DualSense hardware and firmware information using a vendor
specific feature report. Report the data through sysfs and also
report using hid_info as there can be signficant differences between
versions.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Reviewed-by: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-playstation.c