spi/bcm63xx-hsspi: check result of clk_prepare_enable
authorJonas Gorski <jogo@openwrt.org>
Tue, 17 Dec 2013 20:44:46 +0000 (21:44 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 22:32:17 +0000 (22:32 +0000)
commitdea5de1b37c08bc8a028b6a53145b7594ba6eb31
tree5b95060a272071817944c2b6041daefdb144c02d
parentb1bdd4f883e1938a1921f300d7f164ce583b1a64
spi/bcm63xx-hsspi: check result of clk_prepare_enable

Ensure we notice if the clock cannot be enabled for any reason and pass
the error down.

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