a59cb6a48a
o Return the real hardware state in gpio_pin_getflags() instead of keep the last state in an internal table. Now the driver returns the real state of pins (input/output and pull-up/pull-down) at all times. o Use a spin mutex. This is required by interrupts and the 1-wire code. o Use better variable names and place parentheses around them in MACROS. o Do not lock the driver when returning static data. Tested with gpioled(4) and DS1820 (1-wire) sensors on banana pi. |
||
---|---|---|
.. | ||
a20 | ||
a10_ahci.c | ||
a10_clk.c | ||
a10_clk.h | ||
a10_common.c | ||
a10_ehci.c | ||
a10_gpio.c | ||
a10_gpio.h | ||
a10_machdep.c | ||
a10_mmc.c | ||
a10_mmc.h | ||
a10_sramc.c | ||
a10_sramc.h | ||
a10_wdog.c | ||
a10_wdog.h | ||
aintc.c | ||
console.c | ||
files.a10 | ||
files.allwinner | ||
if_emac.c | ||
if_emacreg.h | ||
std.a10 | ||
timer.c |