commit | fbd60a7e87213f702889be21ac14c59fa62defe9 | [log] [tgz] |
---|---|---|
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | Mon Jun 27 22:41:06 2011 +0200 |
committer | Sascha Hauer <s.hauer@pengutronix.de> | Tue Jul 26 09:14:53 2011 +0200 |
tree | 9d950a506379f19facd15987ca545e58056e7ed7 | |
parent | f7db3d5f4c27fa93304ead2d7e76d00df3981f02 [diff] |
efika: Fix board id detection Current code is assuming that gpio_get_value() is returning 0 or 1 but it should be checking if the value is 0 or not. Not doing it properly is breaking the detection of the board (and thus the reboot of efika mx to2) when using the new mxc gpio driver, which relies on basic mmio gpio. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>