[PATCH v2] powerpc/gpio: Fix the wrong GPIO input data on MPC8572/MPC8536
Linus Walleij
linus.walleij at linaro.org
Fri Nov 29 23:37:41 EST 2013
On Fri, Nov 22, 2013 at 9:12 AM, Liu Gang <Gang.Liu at freescale.com> wrote:
> For MPC8572/MPC8536, the status of GPIOs defined as output
> cannot be determined by reading GPDAT register, so the code
> use shadow data register instead. But the code may give the
> wrong status of GPIOs defined as input under some scenarios:
(...)
> Signed-off-by: Liu Gang <Gang.Liu at freescale.com>
> ---
> changes in v2:
> - Added more description of the problem.
> - Reduced one in_be32() call.
> - Do not modify the shadow data.
Applied this v2 version, added ACKs and tagged for stable.
Yours,
Linus Walleij
More information about the Linuxppc-dev
mailing list