On Sun, May 15, 2011 at 07:35:16AM +0800, Axel Lin wrote: > 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 <[email protected]>
Applied, thanks. g. > --- > drivers/spi/spi_s3c24xx.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c > index 151a95e..1a5fcab 100644 > --- 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); > -- > 1.7.1 > > > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
