mtd: rawnand: marvell: Release DMA channel on error
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 27 Feb 2020 12:37:44 +0000 (14:37 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 11 Mar 2020 15:17:54 +0000 (16:17 +0100)
commitaafe30baf4ad131c22a0dc730298360a6e695ce3
tree06ac0b480d987bf4949b3f274a46b47ea8aaca66
parent7cd8c0adb489fde5cec2690a85517df74fa8abbb
mtd: rawnand: marvell: Release DMA channel on error

Release the DMA channel on errors after the channel has been successfully
requested.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200227123749.24064-3-peter.ujfalusi@ti.com
drivers/mtd/nand/raw/marvell_nand.c