[PATCH 6.12 006/269] gpio: vf610: add locking to gpio direction functions