From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric =?ISO-8859-1?B?QuluYXJk?= Date: Sun, 29 Sep 2013 20:26:43 +0200 Subject: [U-Boot] [PATCH] gpio: mxc_gpio: Fix gpio_get_value() when the GPIO is an output In-Reply-To: References: <1380388964-26009-1-git-send-email-festevam@gmail.com> <2047769904.2242902.1380460912317.JavaMail.zimbra@advansee.com> <20130929190953.4ae4d187@e6520eb> <20130929201928.7f53de9d@e6520eb> Message-ID: <20130929202643.7dbf897f@e6520eb> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, Le Sun, 29 Sep 2013 15:22:36 -0300, Fabio Estevam a ?crit : > On Sun, Sep 29, 2013 at 3:19 PM, Eric B?nard wrote: > > > on which CPU is that ? > > Otavio tested it on mx6. > > > It's strange reading PSR works in the kernel and not in u-boot. > > The patch I sent aligns with the kernel behaviour as well: > > http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/arch/arm/plat-mxc/gpio.c?h=imx_3.0.35_4.1.0&id=d6f32393eaf455ce3c32d4e9bafd34d9091eaf45 > mainline kernel doesn't seem to have this fix. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpio/gpio-mxc.c Eric