power: reset: at91-poweroff: fix wakeup status register index
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 1 Sep 2014 14:11:19 +0000 (16:11 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 1 Sep 2014 16:40:44 +0000 (18:40 +0200)
commit405a72c5e78b5c560c8b2711d4000fa5eb063e1b
tree93292c8d42208deb0038e81935cd51cc3223d839
parent94d450edfdc6dab0bb92dcbb06f5ea3244558bf4
power: reset: at91-poweroff: fix wakeup status register index

The wakeup status is read from Shutdown Status Register and not the
SHDW_CR which is the one at address 0.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/power/reset/at91-poweroff.c