HID: playstation: fix DualShock4 bluetooth CRC endian issue.
authorRoderick Colenbrander <roderick@gaikai.com>
Wed, 16 Nov 2022 16:00:22 +0000 (08:00 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 16 Nov 2022 23:46:13 +0000 (00:46 +0100)
commitda03e502bb22ec859af4f7d1f7d4d5f237b6c3fe
treeefdb46c01443352e9167ff2bb2e1e523c5930328
parent54980d30eff608545884416576416060b80d011e
HID: playstation: fix DualShock4 bluetooth CRC endian issue.

The driver was by accident reading the CRC directly from a hardware
structure instead of using get_unaligned_le32.

Fixes: 2d77474a2392 ("HID: playstation: add DualShock4 bluetooth support.")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-playstation.c