mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
iio: Fix documentation for iio_dev mlock
mlock *must* be used by core and drivers to protect access to devices state changes. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
2c3a523632
commit
0118de7b4c
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ struct iio_buffer_setup_ops {
|
|||
* @buffer: [DRIVER] any buffer present
|
||||
* @buffer_list: [INTERN] list of all buffers currently attached
|
||||
* @scan_bytes: [INTERN] num bytes captured to be fed to buffer demux
|
||||
* @mlock: [INTERN] lock used to prevent simultaneous device state
|
||||
* @mlock: [DRIVER] lock used to prevent simultaneous device state
|
||||
* changes
|
||||
* @available_scan_masks: [DRIVER] optional array of allowed bitmasks
|
||||
* @masklength: [INTERN] the length of the mask established from
|
||||
|
|
Loading…
Reference in a new issue