summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorHimanshi Jain <himshijain.hj@gmail.com>2017-10-01 01:35:21 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-10-09 20:50:40 +0100
commit68c91e7a4009af758ef144a077d80db1499a7350 (patch)
tree7717a87fe4049ebe07d47fe726dbd85b039782e3 /drivers/iio
parentca48139856428313e2e9869c41c92e865ec5470d (diff)
downloadlinux-68c91e7a4009af758ef144a077d80db1499a7350.tar.bz2
staging: iio: ade7753: expanding buffer lock to cover both buffer and state protection
Dropping the extra lock (used for protecting the write frequency) by expanding the buffer lock to cover both buffer and state protection. Doing this by introducing a new function (__ade7753_spi_write_reg_16) making buffer changes without locking the state, to avoid nested locks while making device frequency changes. Signed-off-by: Himanshi Jain <himshijain.hj@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions