diff options
author | Stefan Popa <[email protected]> | 2017-09-14 16:50:28 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2017-09-24 16:58:37 +0100 |
commit | f790923f146140a261ad211e5baf75d169f16fb2 (patch) | |
tree | c7a09eb1430145eeae8259105d844f7bc0d809d3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3d62c78a6eb9a7d67bace9622b66ad51e81c5f9b (diff) |
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 <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Acked-by: Michael Hennerich <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions