]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ioat: fix self test for multi-channel case
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:22 +0000 (11:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:22 +0000 (11:38 -0700)
commitb9bdcbba010c2e49c8f837ea7a49fe006b636f41
tree030af2c964995a691d33aab19c8f07b04c5c3437
parent652afc27b26859a0ea5f6db681d80b83d2c43cf8
ioat: fix self test for multi-channel case

In the multiple device case we need to re-arm the completion and protect
against concurrent self-tests.  The printk from the test callback is
removed as it can arbitrarily delay completion of the test.

Cc: <stable@kernel.org>
Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat_dma.c