diff options
author | Ye Xiang <xiang.ye@intel.com> | 2021-01-30 18:25:46 +0800 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-11 20:46:56 +0000 |
commit | 6c3b615379d7cd90d2f70b3cf9860c5a4910546a (patch) | |
tree | d03dd02d30e52aebaffd3f0fe4db0a49ec4e5653 /CREDITS | |
parent | e357e81fcf115bce68f3c8ca76cfc89caf24ec5a (diff) | |
download | linux-6c3b615379d7cd90d2f70b3cf9860c5a4910546a.tar.bz2 |
iio: hid-sensor-rotation: Fix quaternion data not correct
Because the data of HID_USAGE_SENSOR_ORIENT_QUATERNION defined by ISH FW
is s16, but quaternion data type is in_rot_quaternion_type(le:s16/32X4>>0),
need to transform data type from s16 to s32
May require manual backporting.
Fixes: fc18dddc0625 ("iio: hid-sensors: Added device rotation support")
Signed-off-by: Ye Xiang <xiang.ye@intel.com>
Link: https://lore.kernel.org/r/20210130102546.31397-1-xiang.ye@intel.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions