Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: imu: st_lsm6dsx: add 'mount_matrix' sysfs entry to gyro channel.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/1673874434-30750-3-git-send-email-Philippe.DeMuyter@macq.eu
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Philippe De Muyter and committed by
Jonathan Cameron
d354a2ee 677a33b5

+3 -2
+3 -2
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
··· 93 93 .endianness = IIO_LE, \ 94 94 }, \ 95 95 .event_spec = &st_lsm6dsx_event, \ 96 - .ext_info = st_lsm6dsx_accel_ext_info, \ 96 + .ext_info = st_lsm6dsx_ext_info, \ 97 97 .num_event_specs = 1, \ 98 98 } 99 99 ··· 113 113 .storagebits = 16, \ 114 114 .endianness = IIO_LE, \ 115 115 }, \ 116 + .ext_info = st_lsm6dsx_ext_info, \ 116 117 } 117 118 118 119 struct st_lsm6dsx_reg { ··· 529 528 } 530 529 531 530 static const 532 - struct iio_chan_spec_ext_info __maybe_unused st_lsm6dsx_accel_ext_info[] = { 531 + struct iio_chan_spec_ext_info __maybe_unused st_lsm6dsx_ext_info[] = { 533 532 IIO_MOUNT_MATRIX(IIO_SHARED_BY_ALL, st_lsm6dsx_get_mount_matrix), 534 533 { } 535 534 };