spi: tegra20-slink: add missed clk_unprepare
authorChuhong Yuan <hslester96@gmail.com>
Fri, 15 Nov 2019 08:31:22 +0000 (16:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:36:03 +0000 (16:36 +0100)
commitfd1f4a58e878241a09fc5eb0054af9461794a214
treee0db5260d21c641711cbc348938e55778ef36cb6
parent83a9fb541c6fde572a16a983654e5e3f99310412
spi: tegra20-slink: add missed clk_unprepare

[ Upstream commit 04358e40ba96d687c0811c21d9dede73f5244a98 ]

The driver misses calling clk_unprepare in probe failure and remove.
Add the calls to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191115083122.12278-1-hslester96@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-tegra20-slink.c