commit | c85012addd800d8fd135b9a871d5ce9b8e8c4081 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Jun 21 11:32:23 2014 +0100 |
committer | Mark Brown <broonie@linaro.org> | Sat Jun 21 12:00:36 2014 +0100 |
tree | cc5e6c320bfb34a59955733b9065bfe688be45c2 | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f [diff] |
spi: spi-orion: check return value from clk_prepare()/clk_enable() clk_prepare()/clk_enable() can fail, and it's return value should be checked. Add the proper checking, and while we're here, convert to clk_prepare_enable(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Mark Brown <broonie@linaro.org>