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:
Daniel DeGrasse <daniel.degrasse@nxp.com>
Loading
Please sign in to comment