[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZBRSz_5bZhoiqS=qgCFR7aZP-P_3MVfvUbeGqc0aJGrA@mail.gmail.com>
Date: Fri, 28 Mar 2014 21:53:02 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Mathias Nyman <mathias.nyman@...ux.intel.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio-lynxpoint: force gpio_get() to return "1" and "0" only
On Thu, Mar 27, 2014 at 2:02 PM, Mathias Nyman
<mathias.nyman@...ux.intel.com> wrote:
> 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 <jerome.blin@...el.com>
> Signed-off-by: Mathias Nyman <mathias.nyman@...ux.intel.com>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists