linux-mips
[Top] [All Lists]

Re: [PATCH RESEND] mips: pci-lantiq: Fix check for valid gpio

To: ralf@linux-mips.org
Subject: Re: [PATCH RESEND] mips: pci-lantiq: Fix check for valid gpio
From: John Crispin <blogic@openwrt.org>
Date: Thu, 28 Jun 2012 07:19:23 +0200
Cc: Roland Stigge <stigge@antcom.de>, jkosina@suse.cz, standby24x7@gmail.com, bhelgaas@google.com, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, grant.likely@secretlab.ca, linus.walleij@stericsson.com
In-reply-to: <1340836617-21666-1-git-send-email-stigge@antcom.de>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1340836617-21666-1-git-send-email-stigge@antcom.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16
On 28/06/12 00:36, Roland Stigge wrote:
> This patch fixes two checks for valid gpio number, formerly (wrongly)
> considering zero as invalid, now using gpio_is_valid().
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: John Crispin <blogic@openwrt.org>



Hi Ralf,

can you take this via your tree ?

Thanks,
John





<Prev in Thread] Current Thread [Next in Thread>