aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorGargi Sharma <gs051095@gmail.com>2017-03-17 13:29:30 +0530
committerJonathan Cameron <jic23@kernel.org>2017-03-19 11:11:37 +0000
commitdba968c4fea0f9368e709966666d6e35dfe05e62 (patch)
treec4af2ec6fa5d3263554510b144ec3c8bda91cc9d /drivers/iio/dac
parentStaging: iio: resolver: ad2s1210: Fix warning, statements should start on a tabstop (diff)
downloadwireguard-linux-dba968c4fea0f9368e709966666d6e35dfe05e62.tar.xz
wireguard-linux-dba968c4fea0f9368e709966666d6e35dfe05e62.zip
staging: iio: ad7280: Replace mlock with driver private lock
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. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices global data. Signed-off-by: Gargi Sharma <gs051095@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions