summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2017-09-14 16:50:28 +0300
committerBen Hutchings <ben@decadent.org.uk>2018-01-01 20:51:39 +0000
commitd93e9ca95b52a8d07431aecf7c1434cec4be5dc4 (patch)
treea8f1aa875f9712e0c645da87d6e8c61c7fec489c /security
parent98f9793995848dc34446abfce0008c1eebe91633 (diff)
downloadlinux-d93e9ca95b52a8d07431aecf7c1434cec4be5dc4.tar.gz
linux-d93e9ca95b52a8d07431aecf7c1434cec4be5dc4.tar.bz2
linux-d93e9ca95b52a8d07431aecf7c1434cec4be5dc4.zip
staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
commit f790923f146140a261ad211e5baf75d169f16fb2 upstream. 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> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions