lkml.org 
[lkml]   [2011]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[BUGFIX][PATCH] gpiolib: add missing initialisation of bgc->dir
Date

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/

\
 
 \ /
  Last update: 2011-07-01 14:13    [W:0.058 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site