]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f7308f4bacd9c130c31052a0933fa12ac694b53
tree93292c8d42208deb0038e81935cd51cc3223d839
parentfd77aa33d10d261ce444b6c4cafba7f89a91a89c
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