The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. These patches - replace mlock with private driver lock - add lock where there are hardware state changes Changes in v2: - more descriptive commit messages Aastha Gupta (2): staging: iio: adc: ad7192: Replace mlock with driver private lock staging: iio: adc: ad7192: add lock to protect hardware state changes drivers/staging/iio/adc/ad7192.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html