Files
twx-linux/drivers
Christophe JAILLET 41f95d84fc dmaengine: milbeaut-xdmac: Fix a resource leak in the error handling path of the probe function
commit d645148cc8 upstream.

'disable_xdmac()' should be called in the error handling path of the
probe function to undo a previous 'enable_xdmac()' call, as already
done in the remove function.

Fixes: a6e9be055d ("dmaengine: milbeaut-xdmac: Add XDMAC driver for Milbeaut platforms")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201219132800.183254-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-17 14:17:02 +01:00
..
2021-01-06 14:56:56 +01:00
2021-01-09 13:46:22 +01:00
2020-12-30 11:53:53 +01:00