[PATCH V1 0/1] iio: accel: sca3300: Extend the trigger buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux