ARM: SAMSUNG: fix suspend/resume on if some GPIO banks not present
authorPinkava J <Jiri.Pinkava@vscht.cz>
Sun, 23 May 2010 04:42:26 +0000 (06:42 +0200)
committerBen Dooks <ben-linux@fluff.org>
Sun, 23 May 2010 15:26:04 +0000 (16:26 +0100)
commit91dc74e479e1ea0bb8864694303e6fe5612b707c
tree55a08b31f1c11c306dbd42936989342751c76535
parentfda225774ed0f3742eb2337680e5221dfa49dad8
ARM: SAMSUNG: fix suspend/resume on if some GPIO banks not present

When saving GPIOs during suspend/resume we need skip missing GPIO banks, not
trying get corresponding chip again and again in infinite loop.

Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
[ben-linux@fluff.org: shorten subject]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-samsung/pm-gpio.c