Fix the buffer reading issue for SCA3300: - Extend the buffer size from 16 to 32 bytes. - Change the buffer struct to a u8 array to adapt different sensors. - Readjustment the scan index to make it consistent with the buffer data. - Change sca3300_channels to indio_dev->channels. LI Qingwu (1): iio: accel: sca3300: Extend the trigger buffer from 16 to 32 bytes drivers/iio/accel/sca3300.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) -- 2.25.1