[PATCH 6.5 213/241] gpio: vf610: set value before the direction to avoid a glitch