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:45:33 +0000 (16:45 +0100)
commite2a8323cfc688e8e086df395721b562691256e9f
tree8d68a4755a83d44e32ac49bcf729dce45d287301
parentf44b07472f29ae313ce875dc7b9c75b100c608b8
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