Re: [PATCH] iio: Fix documentation for iio_dev mlock

2016-02-08 Thread Jonathan Cameron
On 08/02/16 15:03, Daniel Baluta wrote: > mlock *must* be used by core and drivers to protect access > to devices state changes. > > Signed-off-by: Daniel Baluta Applied. Thanks for cleaning this up. Jonathan > --- > At a first glance there are few places where access to iio_dev > state changes

[PATCH] iio: Fix documentation for iio_dev mlock

2016-02-08 Thread Daniel Baluta
mlock *must* be used by core and drivers to protect access to devices state changes. Signed-off-by: Daniel Baluta --- At a first glance there are few places where access to iio_dev state changes are done without mlock protection. Will fix them with follow up patches. include/linux/iio/iio.h | 2