diff options
author | Phil Sutter <n0-1@freewrt.org> | 2008-11-28 14:46:09 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-01-30 16:32:59 -0500 |
commit | 33763d571da995913299cd0509425decfa9e4be0 (patch) | |
tree | 73b23605980e686256d7901f70c38368e7e11067 /drivers/net/macb.h | |
parent | 4aa0f4d7264bc4f54603de5db1ffcaf8912ddd23 (diff) |
MIPS: RB532: Auto disable GPIO alternate function
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.
Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/net/macb.h')
0 files changed, 0 insertions, 0 deletions