forked from Imagelibrary/rtems
leon, grspw_pkt: unregister ISR on close
This commit is contained in:
@@ -657,6 +657,9 @@ int grspw_close(void *d)
|
|||||||
}
|
}
|
||||||
grspw_hw_stop(priv);
|
grspw_hw_stop(priv);
|
||||||
|
|
||||||
|
/* Uninstall Interrupt handler */
|
||||||
|
drvmgr_interrupt_unregister(priv->dev, 0, grspw_isr, priv);
|
||||||
|
|
||||||
/* Free descriptor table memory if allocated using malloc() */
|
/* Free descriptor table memory if allocated using malloc() */
|
||||||
if (priv->bd_mem_alloced) {
|
if (priv->bd_mem_alloced) {
|
||||||
free((void *)priv->bd_mem_alloced);
|
free((void *)priv->bd_mem_alloced);
|
||||||
|
|||||||
Reference in New Issue
Block a user