lkml.org 
[lkml]   [2015]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/2] bmg160 driver optimizations

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

same concerns as with bmc150 and kxcjk-1013

> 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(-)
>
>

--

Peter Meerwald
+43-664-2444418 (mobile)


\
 
 \ /
  Last update: 2015-02-16 20:41    [W:0.030 / U:35.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site