Skip to content
Commit 2675fb4c authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

drivers: gpio: pca95xx: do not write to output regs if pin is input



Remove unconditional write to PCA95xx output registers in setup_pin_dir,
and only write to output registers if selected pin is configured as
an output.

Fixes #45774

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent e15523d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment