projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8659ad
)
spi: rockchip: add missing spi_master_put
author
Shawn Lin
<shawn.lin@rock-chips.com>
Mon, 15 Feb 2016 08:28:12 +0000
(16:28 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Feb 2016 12:19:53 +0000
(12:19 +0000)
Add missing spi_master_put for rockchip_spi_remove since
it calls spi_master_get already.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-rockchip.c
b/drivers/spi/spi-rockchip.c
index c0f9baee1e912468285019c00462237af368efb6..7cb1b2d710c10f7aab6c245a31d34e5439dfcbf0 100644
(file)
--- 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)
if (rs->dma_rx.ch)
dma_release_channel(rs->dma_rx.ch);
+ spi_master_put(master);
+
return 0;
}