Re: [PATCH] iio: Simplify IIO provider access locking mechanism

From: Lars-Peter Clausen
Date: Fri Jan 09 2015 - 10:42:09 EST


On 01/09/2015 04:38 PM, Ivan T. Ivanov wrote:
Instead of checking whether provider module is still
loaded on every access to device just lock module to
memory when client get reference to provider device.


This has nothing to do with the module, it's about the device. In the Linux device driver model as device can be unbound at any time and the IIO framework needs to handle this.

- Lars
--
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/