]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: ioat: Fix error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 17 Nov 2017 21:37:53 +0000 (22:37 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 29 Nov 2017 14:17:46 +0000 (19:47 +0530)
commit04f26cb620e85b27f27059c68a6deae8ada1fe21
tree7fa02f8a8c4891268e6bd3670627e9321c0f621d
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
dmaengine: ioat: Fix error handling path

If the last test in 'ioat_dma_self_test()' fails, we must release all
the allocated resources and not just part of them.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/init.c