diff options
author | Andi Shyti <andi.shyti@samsung.com> | 2016-07-12 19:02:13 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-14 17:28:31 +0100 |
commit | 25981d8281ee4cbbd6f7c5bc0f8c048ad9548037 (patch) | |
tree | 63c4dd6e515a498ce9c1434f9156a5cfc09fdda4 /arch/arc | |
parent | 60a9a964420912a4c4b66efd210d98006177695a (diff) | |
download | linux-stable-25981d8281ee4cbbd6f7c5bc0f8c048ad9548037.tar.gz linux-stable-25981d8281ee4cbbd6f7c5bc0f8c048ad9548037.tar.bz2 linux-stable-25981d8281ee4cbbd6f7c5bc0f8c048ad9548037.zip |
spi: s3c64xx: use error code from clk_prepare_enable()
If clk_prepare_enable() fails do not return -EBUSY but use the
value provided by the function itself.
Suggested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Michael Turquette <mturquette@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions