diff options
author | Leilk Liu <leilk.liu@mediatek.com> | 2015-08-31 15:18:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-31 16:26:50 +0200 |
commit | ca9f26a27949ba3b295e4f0841c0bec9ef440141 (patch) | |
tree | 57f370c21ad3874ed8c20d427b5cf6ae43eb4d2f /drivers/spi/spi-mt65xx.c | |
parent | spi: mediatek: fix SPI_CMD_PAUSE_IE macro error (diff) | |
download | linux-ca9f26a27949ba3b295e4f0841c0bec9ef440141.tar.xz linux-ca9f26a27949ba3b295e4f0841c0bec9ef440141.zip |
spi: mediatek: remove clk_disable_unprepare()
This patch removes clk_disable_unprepare() in mtk_spi_remove().
clk_disable_prepare/unprepare must be balance, spi-clk is disabled
in mtk_spi_probe, so not needs to disable again.
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mt65xx.c')
-rw-r--r-- | drivers/spi/spi-mt65xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 5f6315c47920..b609b1cbdcba 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -630,7 +630,6 @@ static int mtk_spi_remove(struct platform_device *pdev) pm_runtime_disable(&pdev->dev); mtk_spi_reset(mdata); - clk_disable_unprepare(mdata->spi_clk); spi_master_put(master); return 0; |