]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ioat: wait for self-test completion
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 Dec 2008 00:16:55 +0000 (17:16 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 Dec 2008 00:16:55 +0000 (17:16 -0700)
commit532d3b1f86f41834a25373e3ded981d68e4ce17f
treeed025b991fe3efcee1b739faae534e26e20a2a4d
parent4ffaf869c7780bbdfc11291e5fd4b61dde662b1c
ioat: wait for self-test completion

As part of the ioat_dma self-test it performs a printk from a completion
callback.  Depending on the system console configuration this output can
take longer than a millisecond causing the self-test to fail.  Introduce a
completion with a generous timeout to mitigate this failure.

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