Skip to content
Commit 1efaae59 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

drivers: adc: make a copy of sequence struct



We should not be storing the sequence pointer, as
adc_read_async() returns immediately. The memory could
be heap allocated, or on a call stack. Make a copy of
it instead.

Fixes: #15039

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 26a335c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment