# Re: \[PATCH 1/2\] dmaengine: fsldma: Fix a resource leak in the remove function

- From: Vinod Koul \<vkoul@kernel.org\>
- Date: 2021-01-12 12:31:53 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/01/6231567
- Thread: https://ratatoskr.run/linuxppc-dev/2020/12/6208561/t.md

```text
On 12-12-20, 17:05, Christophe JAILLET wrote:
> A 'irq_dispose_mapping()' call is missing in the remove function.
> Add it.
> 
> This is needed to undo the 'irq_of_parse_and_map() call from the probe
> function and already part of the error handling path of the probe function.
> 
> It was added in the probe function only in commit d3f620b2c4fe ("fsldma:
> simplify IRQ probing and handling")

Applied both, thanks

-- 
~Vinod
```
