summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorLI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>2022-07-01 02:30:30 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-19 09:38:53 +0100
commit3cfb0e1d395a4323f325baaff58b8fe4a8ff9ecd (patch)
tree7a5dd1a401d818f128078ee05d0f8fd5805639ec /security
parent5e1f91850365de55ca74945866c002fda8f00331 (diff)
downloadlinux-stable-3cfb0e1d395a4323f325baaff58b8fe4a8ff9ecd.tar.gz
linux-stable-3cfb0e1d395a4323f325baaff58b8fe4a8ff9ecd.tar.bz2
linux-stable-3cfb0e1d395a4323f325baaff58b8fe4a8ff9ecd.zip
iio: accel: sca3300: Extend the trigger buffer from 16 to 32 bytes
After added inclination angle channels, the trigger buffer size is insufficient. Extend the buffer size from 16 to 32 bytes, and change the trigger buffer from the struct to a u8 array to adapt the sensor with/without inclination angles output. New trigger buffer data: - SCA3300: 3 accel channels, temp, and timestamp. - SCL3300: 3 accel channels, temp, 3 incli channels, and timestamp. Readjustment the scan index to make it consistent with the buffer data. Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn> Link: https://lore.kernel.org/r/20220701023030.2527019-2-Qing-wu.Li@leica-geosystems.com.cn Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions