]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
I/OAT: clean up of dca provider start and stop
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 18 Oct 2007 10:07:13 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:32 +0000 (14:37 -0700)
commitdfe2299e7b35a0adfc87f04d3e725ccc508d7626
tree5dbcd9290ebf4f4830d736df5b3324f0146bb6b0
parent7df7cf0676060d778486359676734447347e1caf
I/OAT: clean up of dca provider start and stop

Don't start ioat_dca if ioat_dma didn't start, and then stop ioat_dca
before stopping ioat_dma.  Since the ioat_dma side does the pci device
work, This takes care of ioat_dca trying to use a bad device reference.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/dma/ioat.c
drivers/dma/ioat_dma.c