Re: [PATCH] iio: imu: Add support for Kionix KMX61 sensor

From: Daniel Baluta
Date: Sat Nov 08 2014 - 09:16:51 EST


On Sat, Nov 8, 2014 at 2:37 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> On 06/11/14 12:29, Daniel Baluta wrote:
>> Minimal implementation for KMX61 6-axis accelerometer/magnetometer. It exports
>> raw accel/magn readings together with scale and sampling frequency.
>>
>> Datasheet will be available at:
>> http://www.kionix.com/6-axis-accelerometer-magnetometer/kmx61
>>
>> Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxxxx>
> Very nice. Only one comment inline.
>
> There are some possible race conditions (I think) based on functions
> doing read, modify, write. Ideally they may want protecting with
> a mutex.

You are right. I will analyze all possible race conditions and send v2.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/