ioat: fail self-test if wait_for_completion times out
authorNicholas Mc Guire <der.herr@hofr.at>
Thu, 8 Jan 2015 14:16:35 +0000 (15:16 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 5 Feb 2015 06:54:22 +0000 (22:54 -0800)
commit12385f458a27fe46da31483ed9f9ec5e9da575e7
tree5506b1e73ec7b221198f159cacf6b6b04663f88b
parentd8ded50f8b26a224df48f9f93e49440c6a39b77f
ioat: fail self-test if wait_for_completion times out

wait_for_completion_timeout reaching timeout was being ignored,
fail the self-test if timeout condition occurs.

v2: fixup of coding style issues.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/dma_v3.c