Skip to content
Commit 5d658bfd authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Ohad Ben-Cohen
Browse files

remoteproc/davinci: drop needless devm_clk_put



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.

Cc: Robert Tivy <rtivy@ti.com>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
[moved the Cc line into the commit message]
Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent cfbf8d48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment