summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2017-09-14 15:50:28 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-24 17:58:37 +0200
commitf790923f146140a261ad211e5baf75d169f16fb2 (patch)
treec7a09eb1430145eeae8259105d844f7bc0d809d3 /drivers/iio/magnetometer
parentiio: core: Return error for failed read_reg (diff)
downloadlinux-f790923f146140a261ad211e5baf75d169f16fb2.tar.xz
linux-f790923f146140a261ad211e5baf75d169f16fb2.zip
staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
Depends on: 691c4b95d1 ("iio: ad_sigma_delta: Implement a dedicated reset function") SPI host drivers can use DMA to transfer data, so the buffer should be properly allocated. Keeping it on the stack could cause an undefined behavior. The dedicated reset function solves this issue. Signed-off-by: Stefan Popa <stefan.popa@analog.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer')
0 files changed, 0 insertions, 0 deletions