From: Arnaud Patard (Rtp) Date: Mon, 27 Jun 2011 20:41:06 +0000 (+0200) Subject: efika: Fix board id detection X-Git-Tag: v3.1-rc2~18^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd60a7e87213f702889be21ac14c59fa62defe9;p=pandora-kernel.git 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 Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed