commit | ed97318cfc768bb34bb0baf07936fee752928615 | [log] [tgz] |
---|---|---|
author | Shaojie Sun <shaojie.sun@linaro.com> | Tue Sep 17 14:15:19 2013 +0800 |
committer | Shaojie Sun <shaojie.sun@linaro.com> | Wed Sep 18 11:33:02 2013 +0800 |
tree | 8697149f526a4047add20ae07722d6e637359619 | |
parent | 2489bc70a2e3084cb8d070c9b5b4cc711f67c0e0 [diff] |
Read gpio value after gpio direction changed. When gpio direction was changed from IN to OUT though sysfs. gpio value would changed to zero. So after gpio direction changed, we must read gpio value again. Signed-off-by: Shaojie Sun <shaojie.sun@linaro.com>