linux-mips
[Top] [All Lists]

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

To: Roland Stigge <stigge@antcom.de>
Subject: Re: [PATCH] mips: pci-lantiq: Fix check for valid gpio
From: Linus Walleij <linus.walleij@linaro.org>
Date: Tue, 19 Jun 2012 23:50:32 +0200
Cc: ralf@linux-mips.org, blogic@openwrt.org, 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: <1340011706-32281-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: <1340011706-32281-1-git-send-email-stigge@antcom.de>
Sender: linux-mips-bounce@linux-mips.org
On Mon, Jun 18, 2012 at 11:28 AM, Roland Stigge <stigge@antcom.de> 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>

Thanks,
Linus Walleij

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