# \[PATCH\] remoteproc/davinci: drop needless devm\_clk\_put

- From: Ohad Ben-Cohen \<hidden\>
- Date: 2014-02-24 15:07:20 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2014/02/8675962
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/09/8660173/t.md

```text
On Mon, Sep 23, 2013 at 7:00 PM, Uwe Kleine-K?nig
[ref] wrote:
> The comment above disable_irq says that it is needed to ensure that the
> "devm subsystem might end up releasing things before freeing the irq,
> thus allowing an interrupt to sneak in while the device is being
> removed." disable_irq is enough for this purpose and there is no need to
> manually free the reference to the clock.
>
> Signed-off-by: Uwe Kleine-K?nig <redacted>

Applied and pushed to remoteproc-next, thanks!
```
