]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: PXA2xx: MFP: fix bug with MFP_LPM_KEEP_OUTPUT
authorIgor Grinberg <grinberg@compulab.co.il>
Thu, 12 Apr 2012 12:43:28 +0000 (15:43 +0300)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 27 Apr 2012 03:11:50 +0000 (11:11 +0800)
commita3f97f5045c6bce975eaa9076a583969c7082b49
tree2ffed2d5b92cca357fec94a15d3427783693a9ab
parent6a5aab4dab314be351dc87e440cb9614450fca9c
ARM: PXA2xx: MFP: fix bug with MFP_LPM_KEEP_OUTPUT

Pins that have MFP_LPM_KEEP_OUTPUT set and are configured for output
must retain the output state in low power mode.
Currently, the pin direction configuration is overrided with values
in gpdr_lpm[] array and do not obey the MFP_LPM_KEEP_OUTPUT setting.

Fix the above bug and add some documentation to clarify the
MFP_LPM_KEEP_OUTPUT setting purpose.

Reported-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Tested-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h
arch/arm/mach-pxa/mfp-pxa2xx.c