ARM: iop32x: fix power off handling for the EM7210 board
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Jan 2014 14:20:15 +0000 (15:20 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 31 Jan 2014 22:58:53 +0000 (14:58 -0800)
commitafbf1e156c1c17eccd4b2092ba4fed09279c5ccc
tree537e94fecd35da91ecc763cdd770a89af0b4d6d4
parent608914b37688d9a67be8b6dfc216f24d95298502
ARM: iop32x: fix power off handling for the EM7210 board

This board was missed when converting all the others to proper
abstracted GPIO handling. Fix it up the right way by requesting
and driving GPIO line 0 high through gpiolib to power off the
machine.

Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-iop32x/em7210.c