- Fix headphone/speakers automute on Lenovo 3000 N100.
- Fix headphone/speakers automute on Lenovo 3000 N100.

Tested by:	xride

- GPIO commit cleanups and fixes for possible breakage during
  previous commit.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase