spi: spi_nuc900: Use spi_bitbang_stop instead of spi_unregister_master in nuc900_spi_remove
Subsystems (2)
PATCH 1/2 spi: spi_nuc900: Use spi_bitbang_stop instead of spi_unregister_master in nuc900_spi_remove
Calling spi_bitbang_stop() will also destroy bitbang->workqueue, which is created by calling spi_bitbang_start() in nuc900_spi_probe().
--- drivers/spi/spi_nuc900.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spi_nuc900.c +1 -1
@@ -463,7 +463,7 @@ static int __devexit nuc900_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);
Signature · 1 line
1.7.1
PATCH 2/2 spi: spi_s3c24xx: Use spi_bitbang_stop instead of spi_unregister_master in s3c24xx_spi_remove
Calling spi_bitbang_stop() will also destroy bitbang->workqueue, which is created by calling spi_bitbang_start() in s3c24xx_spi_probe().
--- drivers/spi/spi_s3c24xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spi_s3c24xx.c +1 -1
@@ -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);
Signature · 1 line
1.7.1
Grant Likely
AppliedRe: [PATCH 2/2] spi: spi_s3c24xx: Use spi_bitbang_stop instead of spi_unregister_master in s3c24xx_spi_remove
Quoted 4 lines · Axel Lin
Calling
spi_bitbang_stop()will also destroybitbang->workqueue, which is created by callingspi_bitbang_start()ins3c24xx_spi_probe().Signed-off-by Axel Lin <[email protected]>
Applied, thanks.
g.
Quoted 22 lines
--- drivers/spi/spi_s3c24xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/spi/spi_s3c24xx.c +1
-1@@ -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);Signature · 1 line
1.7.1
Grant Likely
AppliedQuoted 4 lines · Axel Lin
Calling
spi_bitbang_stop()will also destroybitbang->workqueue, which is created by callingspi_bitbang_start()innuc900_spi_probe().Signed-off-by Axel Lin <[email protected]>
Applied, thanks.
g.
Quoted 22 lines
--- drivers/spi/spi_nuc900.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/spi/spi_nuc900.c +1
-1@@ -463,7 +463,7 @@ static int __devexit nuc900_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);Signature · 1 line
1.7.1