Skip to content
Commit 3fc27e71 authored by Ruibin Chang's avatar Ruibin Chang Committed by Johan Hedberg
Browse files

drivers: input: it8xxx2: resolve runtime assertion failure



When the kso[17:16] lines are enabled and `CONFIG_ASSERT` is
configured, the following error occurs: "Input cannot be
enabled for 'Open Drain', 'Open Source' modes without Output."
To address this, this commit configures kso16 and kso17 as
gpio output before applying the pinctrl settings.

Tested with: no abnormal keyscan occurs during
initialization

Signed-off-by: default avatarRuibin Chang <Ruibin.Chang@ite.com.tw>
Signed-off-by: default avatarRen Chen <Ren.Chen@ite.com.tw>
parent 3a4cc129
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment