[PATCH v2 0/2] bmg160 driver optimizations

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

 



Adds optimization of i2c transactions in trigger handler and
usage of available_scan_masks for bmg160.

Changes in v2:
 - fallback to i2c word transactions if i2c block transactions are not supported
 - use available_scan_masks to let the iio core choose the values selected
by the user instead of doing the check in the driver's interrupt handler
 - check functionality for i2c byte and word read

Irina Tirdea (2):
  iio: gyro: bmg160: use available_scan_masks
  iio: gyro: bmg160: optimize i2c transfers in trigger handler

 drivers/iio/gyro/bmg160.c | 50 ++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 39 insertions(+), 11 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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