On Sat, Nov 8, 2014 at 2:37 PM, Jonathan Cameron <ji...@kernel.org> 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.bal...@intel.com> > 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/