]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: st_lsm6dsx: convert max_fifo_size in FIFO sample size
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Mon, 2 Oct 2017 16:37:37 +0000 (18:37 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Oct 2017 19:50:52 +0000 (20:50 +0100)
commit68ad6482a1f96b34dc0093fc59b008f967b6bb28
treecddd49ab94afffcbd1e9dfcece389dbcff44a92a
parentd2fbe921c55f37fa242486f3fca0d984851795f2
iio: imu: st_lsm6dsx: convert max_fifo_size in FIFO sample size

Express max fifo depth in ST_LSM6DSX_SAMPLE_SIZE instead of in bytes.
That change will be necessary to properly support more devices
in st_lsm6dsx driver

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c