[PATCH 6.13 106/138] gpio: vf610: add locking to gpio direction functions