Skip to content
Commit dd4e598f authored by Paul Parsons's avatar Paul Parsons Committed by Andi Kleen
Browse files

ARM: pxa: fix PGSR register address calculation



[ upstream commit beb0c9b0 ]

The file mfp-pxa2xx.c defines a macro, PGSR(), which translates a gpio
bank number to a PGSR register address. The function pxa2xx_mfp_suspend()
erroneously passed in a gpio number instead of a gpio bank number.

Signed-off-by: default avatarPaul Parsons <lost.distance@yahoo.com>
Cc: stable@kernel.org
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent 788ae796
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment