[PATCH] ARM: pxa: mfp: Force gpio direction for MFP_LPM_KEEP_OUTPUT
From: Paul Parsons <hidden>
Date: 2012-04-05 11:15:06
From: Paul Parsons <hidden>
Date: 2012-04-05 11:15:06
Hello Igor,
--- On Thu, 5/4/12, Igor Grinberg <grinberg@compulab.co.il> wrote:quoted
quoted
Please, check the attached patch. It should not change the meaning of KEEP_OUTPUT,but fix thequoted
quoted
bug.Yes, your patch - pxa2xx-mfp.patch - does fix theKEEP_OUTPUT bug. Looking at it one more time, we setup the GPDR with values from gpdr_lpm, and afterwards we setup them once again to update for KEEP_CONFIG. This can introduce a kind of spike on the GPIO (depending on how fast the system runs). So, fixed patch attached. Can you please test it once more and I will submit it properly?
Yes, I've tested it and this new patch fixes the KEEP_OUTPUT bug. Regards, Paul