aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-rockchip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c
index c0f9baee1e91..7cb1b2d710c1 100644
--- a/drivers/spi/spi-rockchip.c
+++ b/drivers/spi/spi-rockchip.c
@@ -779,6 +779,8 @@ static int rockchip_spi_remove(struct platform_device *pdev)
779 if (rs->dma_rx.ch) 779 if (rs->dma_rx.ch)
780 dma_release_channel(rs->dma_rx.ch); 780 dma_release_channel(rs->dma_rx.ch);
781 781
782 spi_master_put(master);
783
782 return 0; 784 return 0;
783} 785}
784 786