spi/bcm63xx-hsspi: fix pm sleep support
authorJonas Gorski <jogo@openwrt.org>
Tue, 17 Dec 2013 20:44:48 +0000 (21:44 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 22:32:17 +0000 (22:32 +0000)
commit937ebf9cd34ab3bc4ca26a4adf9c759fc58cc5e2
tree154741cd34d94623092037f4c13680b5ae8a7719
parent7d255695804fbe7b2c30bcd54c1faf1d0918443c
spi/bcm63xx-hsspi: fix pm sleep support

Use the right CONFIG symbol to guard, properly (un)preprare clocks on
suspend/resume, and check the result of it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bcm63xx-hsspi.c