diff options
author | Sandeep Singh <[email protected]> | 2020-10-28 14:30:10 +0530 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2020-10-29 16:02:29 +0100 |
commit | 4b393f0f76c8e3ce80b3bd524dc40bd674a29101 (patch) | |
tree | b9c342ed546ae52b4a9040e2d0820bfc49bf67cf /drivers/usb/cdns3/cdns3-trace.c | |
parent | 1434f9fc0e476362f3f3d153d48c0fc5c940a50a (diff) |
AMD_SFH: Fix for incorrect Sensor index
It appears like the accelerometer/magnetometer and gyroscope indices were
interchanged in the patch series which got into for-5.11/amd-sfh-hid until
Mandoli/Richard reported to us. Ideally sensor indices should be 0,1,2 for the
accelerometer, Gyroscope, Magnetometer respectively, but this interchanged
possibly could be because i was using a test MP2 firmware on my machine.
This patch fixes the earlier commit with the right sensor indices and also
removing unused structures _hid_report_descriptor, _hid_device_descriptor as
reported by Richard.
Fixes: 4f567b9f8141 ("SFH: PCIe driver to add support of AMD sensor fusion hub 4f567b9f8141")
Reported-by: Mandoli <[email protected]>
Reported-by: Richard Neumann <[email protected]>
Signed-off-by: Sandeep Singh <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions