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 11:37:42 +0000 (12:37 +0100)
commitc4fd0e76e47195b9096f7334102d5e115cd91feb
treecbe6c4719c92cd125adc42a312b625840a8bc986
parent79bb64337a1d9247d657fe8b1cd9643adfcdf382
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