From: Paul Parsons Date: Sun, 8 May 2011 01:54:33 +0000 (+0000) Subject: ARM: pxa: fix PGSR register address calculation X-Git-Tag: v3.0~43^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb0c9b056b1c23d2029b46a425362e9ccbeba01;p=pandora-kernel.git ARM: pxa: fix PGSR register address calculation 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: Paul Parsons Cc: stable@kernel.org Signed-off-by: Eric Miao --- Reading git-diff-tree failed