7e5b021b56
The toplevel adc_seq_table is now copied onto the stack and the stack copy used. The contained entries array is now copied onto an allocation drawn from the caller's resource pool, to prevent modification of the buffer pointers. The return value policy here is to oops the caller if bad memory or objects are passed in, but return an error otherwise. Based on an original patch by Leandro Pereira, rebased and the copy of the entries array added. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.mcux | ||
Kconfig.qmsi | ||
Kconfig.sam_afec | ||
Kconfig.ti_adc108s102 | ||
adc_dw.c | ||
adc_dw.h | ||
adc_handlers.c | ||
adc_mcux_adc16.c | ||
adc_qmsi.c | ||
adc_qmsi_ss.c | ||
adc_sam_afec.c | ||
adc_ti_adc108s102.c | ||
adc_ti_adc108s102.h |