|
@@ -299,6 +299,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox)
|
|
|
static void omap_mbox_fini(struct omap_mbox *mbox)
|
|
|
{
|
|
|
free_irq(mbox->irq, mbox);
|
|
|
+ tasklet_kill(&mbox->txq->tasklet);
|
|
|
+ flush_work(&mbox->rxq->work);
|
|
|
mbox_queue_free(mbox->txq);
|
|
|
mbox_queue_free(mbox->rxq);
|
|
|
|