提交 844c9f47 编写于 作者: S Shawn Lin 提交者: Mark Brown

spi: rockchip: add missing spi_master_put

Add missing spi_master_put for rockchip_spi_remove since
it calls spi_master_get already.
Signed-off-by: NShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 b8659add
......@@ -779,6 +779,8 @@ static int rockchip_spi_remove(struct platform_device *pdev)
if (rs->dma_rx.ch)
dma_release_channel(rs->dma_rx.ch);
spi_master_put(master);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册