Skip to content
Commit 0893ca8c authored by Mulin Chao's avatar Mulin Chao Committed by Fabio Baltieri
Browse files

driver: gpio: npcx: correct the usage of npcx voltage flags



In npcx ec series, two detection levels, 3.3V (default) and 1.8V are
supported during gpio configuration. But the current implementation
always selects default detection level whether NPCX_GPIO_VOLTAGE_1P8 is
set. This PR is a fix for this issue.

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
parent 22c8a67d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment