On Tue, Dec 11, 2012 at 9:58 AM, chao bi <chao...@intel.com> wrote: > 1. I understand the workqueue in spi core is for driving message > transfer, so SPI driver should not create new workqueue for this usage. > However, the workqueue created here is not for this usage it's to call > back to SPI protocol driver (ifx6x60.c) when DMA data transfer is > finished, so it seems not conflict with spi core. Am I right?
So a single message can contain several transfers, and if this is some per-transfer DMA thing, it could be valid. I need to go in and look closer at the patch. I've considered trying to also generalize parts of the transfer handling but ran out of energy. Yours, Linus Walleij ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general