]> git.karo-electronics.de Git - mv-sheeva.git/commit
spi/spi_s3c24xx: Use spi_bitbang_stop instead of spi_unregister_master in s3c24xx_spi...
authorAxel Lin <axel.lin@gmail.com>
Sat, 14 May 2011 23:35:16 +0000 (07:35 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 20 May 2011 06:43:07 +0000 (00:43 -0600)
commitc6e7b8cb11632a3b3968c6f64e179c7619eb70c0
tree6c96a512b7563df0fcb234edbd9416b42e3c7b93
parent708a7e438806c02add92a585b0a6b4b2ae50159b
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().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c24xx.c