[PATCH] remoteproc/davinci: drop needless devm_clk_put

Ohad Ben-Cohen ohad at wizery.com
Mon Feb 24 10:07:20 EST 2014


On Mon, Sep 23, 2013 at 7:00 PM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> 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 <u.kleine-koenig at pengutronix.de>

Applied and pushed to remoteproc-next, thanks!



More information about the linux-arm-kernel mailing list