| To: | Phil Sutter <n0-1@freewrt.org> |
|---|---|
| Subject: | Re: [PATCH] MIPS: rb532: auto disable GPIO alternate function |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Thu, 29 Jan 2009 16:41:31 +0000 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20081128194333.B8090386B1A6@mail.ifyouseekate.net> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20081128193322.D103C386DBBE@mail.ifyouseekate.net> <20081128194333.B8090386B1A6@mail.ifyouseekate.net> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Fri, Nov 28, 2008 at 08:46:09PM +0100, Phil Sutter wrote:
> When a driver calls gpio_set_direction_{input,output}(), it obviously
> doesn't want the alternate function for that pin to be active (as the
> direction would not matter in that case). This patch ensures alternate
> function is disabled when the direction is being changed.
Applied. Thanks,
Ralf
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] MIPS: rb532: add set_type() function to IRQ struct, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: rb532: remove useless CF GPIO initialisation, Ralf Baechle |
| Previous by Thread: | Re: [PATCH] MIPS: rb532: add set_type() function to IRQ struct, Ralf Baechle |
| Next by Thread: | Re: [PATCH] MIPS: rb532: remove useless CF GPIO initialisation, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |