linux-mips
[Top] [All Lists]

Re: [PATCH] au1000: fix gpio direction

To: Bruno Randolf <br1@einfach.org>
Subject: Re: [PATCH] au1000: fix gpio direction
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 23 Sep 2008 21:29:32 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20080923174828.8694.12510.stgit@void>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080923174828.8694.12510.stgit@void>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Sep 23, 2008 at 07:48:36PM +0200, Bruno Randolf wrote:

> when setting the direction of one GPIO pin we have to keep the state of the
> other pins, hence use binary OR. also gpio_direction_output() wants to set an
> initial value, so add that too.

Thanks, applied.

  Ralf

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