mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] bmg160 driver optimizations
@ 2015-02-16 18:14 Irina Tirdea
  2015-02-16 18:14 ` [PATCH v2 1/2] iio: gyro: bmg160: use available_scan_masks Irina Tirdea
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Irina Tirdea @ 2015-02-16 18:14 UTC (permalink / raw)
  To: Jonathan Cameron, linux-iio
  Cc: linux-kernel, Srinivas Pandruvada, Adriana Reus, Irina Tirdea

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-16 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-16 18:14 [PATCH v2 0/2] bmg160 driver optimizations Irina Tirdea
2015-02-16 18:14 ` [PATCH v2 1/2] iio: gyro: bmg160: use available_scan_masks Irina Tirdea
2015-02-16 18:14 ` [PATCH v2 2/2] iio: gyro: bmg160: optimize i2c transfers in trigger handler Irina Tirdea
2015-02-16 19:30 ` [PATCH v2 0/2] bmg160 driver optimizations Peter Meerwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®