spi: cadence: Fix missing clk_disable_unprepare() on error in cnds_runtime_resume()
commit2ba87a9bcc7a10aa28af9fbf5b4354b3168366e2
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 11 Jul 2018 13:18:59 +0000 (11 13:18 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 11 Jul 2018 14:34:53 +0000 (11 15:34 +0100)
tree5db21c2b3f905e82716335873b92a57997a10c7e
parent8570043e2cc659f375336fb8141917ca1b050234
spi: cadence: Fix missing clk_disable_unprepare() on error in cnds_runtime_resume()

Fix the missing clk_disable_unprepare() before return
from cnds_runtime_resume() in the error handling case.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c