From 8650ea1ebc31e9b0ab17c31d844dc106e60269db Mon Sep 17 00:00:00 2001 From: Mathias Nyman Date: Thu, 27 Mar 2014 15:02:08 +0200 Subject: [PATCH] gpio-lynxpoint: force gpio_get() to return "1" and "0" only Don't return the IN_LVL_BIT directly, a high gpio line returned value "1073741824" intestead of "1" because IN_LVL_BIT is BIT(30) Tested-by: Jerome Blin Signed-off-by: Mathias Nyman Signed-off-by: Linus Walleij --- Reading git-format-patch failed