[PATCH 5.0 112/146] gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input