Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner correct a typo in awin_gpio_pin_ctl t...
details: https://anonhg.NetBSD.org/src/rev/6bf88d5e1e2a
branches: trunk
changeset: 789789:6bf88d5e1e2a
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Sep 07 23:47:33 2013 +0000
description:
correct a typo in awin_gpio_pin_ctl that would have prevented configuring output pins
diffstat:
sys/arch/arm/allwinner/awin_gpio.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f72ac550c0d1 -r 6bf88d5e1e2a sys/arch/arm/allwinner/awin_gpio.c
--- a/sys/arch/arm/allwinner/awin_gpio.c Sat Sep 07 23:10:02 2013 +0000
+++ b/sys/arch/arm/allwinner/awin_gpio.c Sat Sep 07 23:47:33 2013 +0000
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: awin_gpio.c,v 1.4 2013/09/07 19:47:28 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_gpio.c,v 1.5 2013/09/07 23:47:33 jmcneill Exp $");
#include <sys/bus.h>
#include <sys/device.h>
@@ -569,7 +569,7 @@
if (flags & GPIO_PIN_INPUT) {
awin_gpio_set_pin_func(&ncfg, pin, AWIN_PIO_FUNC_INPUT);
} else if (flags & GPIO_PIN_OUTPUT) {
- awin_gpio_set_pin_func(&ncfg, pin, AWIN_PIO_FUNC_INPUT);
+ awin_gpio_set_pin_func(&ncfg, pin, AWIN_PIO_FUNC_OUTPUT);
}
/*
Home |
Main Index |
Thread Index |
Old Index