pinctrl: sirf: save the status in suspend and restore after resuming
authorBarry Song <Baohua.Song@csr.com>
Thu, 16 May 2013 03:17:09 +0000 (11:17 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 09:56:50 +0000 (11:56 +0200)
commitbc8d25a40577a74afd61d7a5782e0f8393c52b43
tree68383247aed19d37d49bd61d2830ca282933e10a
parent44d5f7bbead9e7fbc8731322d5f595d28ad219e9
pinctrl: sirf: save the status in suspend and restore after resuming

this patch saves the status of pinctrl registers and restore them while
resuming. this makes all drivers have coherent status for pinmux after
suspending and resuming.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-sirf.c