Revert gpio.c update as it breaks sdcard detection