Skip to content
Commit 963d04d6 authored by James Fagan's avatar James Fagan Committed by Anas Nashif
Browse files

aio: Configuration issue in aio driver



The reference and polarity fields of the config struct which is passed
to qm_set_config are never cleared, meaning the wrong configuration
may be written if aio_set_config is called for different sets of pins
in the same program.

This patch clears these fields in aio_cmp_disable to prevent such an
issue.

Change-Id: I8feabae1f3d9fa4c7260d94c1ec919ef2fb84bfb
Signed-off-by: default avatarJames Fagan <james.p.fagan@intel.com>
parent b792e427
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment