gpio: langwell: ensure alternate function is cleared
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 3 Oct 2011 11:36:07 +0000 (14:36 +0300)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 6 Oct 2011 10:14:52 +0000 (04:14 -0600)
commit8c0f7b10f1028d0bc78486affe2ccf39cdf45282
tree824ac3afe0678311c95f6cc09f45da8b63f331a9
parent38eb18a6f92da886fc1af509d25e8f7a49e23d9a
gpio: langwell: ensure alternate function is cleared

Alternate function must be zero for the pin to act as
a GPIO.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-langwell.c