From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 13 Nov 2013 10:13:27 +0100 Subject: [U-Boot] [PATCH] mxs_gpio: fix the handling in gpio_direction_output() In-Reply-To: <1383515966-16161-1-git-send-email-mhei@heimpold.de> References: <1383515966-16161-1-git-send-email-mhei@heimpold.de> Message-ID: <528342B7.5020307@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/11/2013 22:59, Michael Heimpold wrote: > Setting the direction and an output value should be done by > 1) set the desired output value, > 2) switch to output. > > If this is done in the inverse order, there can be a glitch on > the GPIO line. > > This patch fixes this by using the order as described above. > > Signed-off-by: Michael Heimpold > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================