Vasily Khoruzhick 16f775befc libertas_spi: Use workqueue in hw_host_to_card
Use workqueue to perform SPI xfers, it's necessary to fix
nasty "BUG: scheduling while atomic", because
spu_write() calls spi_sync() and spi_sync() may sleep, but
hw_host_to_card() callback can be called from atomic context.
Remove kthread completely, workqueue now does its job.
Restore intermediate buffers which were removed in commit
86c34fe89e9cad9e1ba4d1a8bbf98259035f4caf that introduced
mentioned bug.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-02-03 16:38:25 -05:00
..
2011-01-13 08:03:09 -08:00
2011-01-18 12:22:54 -08:00
2011-01-17 11:15:30 -08:00
2010-12-04 11:18:25 -05:00
2011-01-12 04:59:44 -05:00
2011-01-14 12:38:16 +01:00
2011-01-10 08:51:44 -08:00
2011-01-12 05:14:15 -05:00