gpio: add behaviour for pin without direction
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Thu, 22 Jan 2015 17:33:46 +0000 (17:33 +0000)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Thu, 22 Jan 2015 17:40:16 +0000 (17:40 +0000)
commite76d85eade70dcabc5d4fa47081c618b51318b63
treef8f2691b9c1985bd591dce6cc58b19d3a621d7f0
parentd88da134af9a64e01b125d776e1372ba46c10ec9
gpio: add behaviour for pin without direction

If a gpio doesnt have a direction, like some muxes do, try and set value
if HIGH or LOW was passed.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/gpio/gpio.c