Skip to content
Commit 9854a1b5 authored by Aishwarya Pant's avatar Aishwarya Pant Committed by Jonathan Cameron
Browse files

staging:iio:cdc:ade7746 replace mlock with driver private lock



The IIO subsystem is redefining iio_dev mlock to be used by IIO core
only for protecting device operating mode changes.

In driver ad7746 wherever mlock was used to protect hardware state
changes, it has been replaced with a driver private lock.

Signed-off-by: default avatarAishwarya Pant <aishpant@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 0bdd35bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment