lkml.org 
[lkml]   [2015]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] iio: Simplify IIO provider access locking mechanism
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


\
 
 \ /
  Last update: 2015-01-09 17:01    [W:0.282 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site