projects
/
GitHub
/
LineageOS
/
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:
708a7e4
)
spi/spi_s3c24xx: Use spi_bitbang_stop instead of spi_unregister_master in s3c24xx_spi...
author
Axel Lin
<axel.lin@gmail.com>
Sat, 14 May 2011 23:35:16 +0000
(07:35 +0800)
committer
Grant Likely
<grant.likely@secretlab.ca>
Fri, 20 May 2011 06:43:07 +0000
(
00:43
-0600)
Calling spi_bitbang_stop() will also destroy bitbang->workqueue,
which is created by calling spi_bitbang_start() in s3c24xx_spi_probe().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c24xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi_s3c24xx.c
b/drivers/spi/spi_s3c24xx.c
index 151a95e40653e8908e362968212abd182aeaa5ae..1a5fcabfd56502ad47786c41f219240d165e2589 100644
(file)
--- a/
drivers/spi/spi_s3c24xx.c
+++ b/
drivers/spi/spi_s3c24xx.c
@@
-668,7
+668,7
@@
static int __exit s3c24xx_spi_remove(struct platform_device *dev)
platform_set_drvdata(dev, NULL);
- spi_
unregister_master(hw->master
);
+ spi_
bitbang_stop(&hw->bitbang
);
clk_disable(hw->clk);
clk_put(hw->clk);