[PATCH 4.14 63/66] gpio: vf610: set value before the direction to avoid a glitch