aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVasileios Amoiridis <vassilisamir@gmail.com>2024-12-14 20:14:19 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-28 14:28:13 +0000
commit45e3146d75424392e1cbc057e2b560785de82806 (patch)
tree23c5e2a0aefe78d98326587d5c8efa8bbf9b9710 /tools/perf/scripts/python
parentiio: adc: dln2-adc: zero full struct instead of just the padding (diff)
downloadlinux-45e3146d75424392e1cbc057e2b560785de82806.tar.gz
linux-45e3146d75424392e1cbc057e2b560785de82806.zip
iio: adc: max1363: Use a small fixed size buffer to replace dynamic allocation
Drop the recurrent allocation of the data buffer from the trigger handler and put it in the iio_priv(). This way, the maximum amount of channels is always allocated in favor of simpler code and drop of usage of the internal private variable "scan_timestamp" of the struct iio_dev. Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com> Link: https://patch.msgid.link/20241214191421.94172-3-vassilisamir@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions