Messages in this thread | | | From | Lothar Waßmann <> | Subject | [BUGFIX][PATCH] gpiolib: add missing initialisation of bgc->dir | Date | Fri, 1 Jul 2011 14:08:50 +0200 |
| |
bgpio_init() does not initialise the shadow variable for the GPIO_GDIR register. Thus the first 'set_direction' call will clear the whole GPIO_GDIR register of the affected GPIO bank.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |