tdc: workaround to avoid kernel oops in flush_workqueue.

Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
parent 66947b3b
......@@ -210,7 +210,8 @@ int tdc_fmc_remove(struct fmc_device *dev)
struct spec_tdc *tdc = spec->sub_priv;
cancel_work_sync(&tdc->irq_work);
flush_workqueue(tdc_workqueue);
/* XXX: It gives a kernel oops if I enabled it. Check it out */
//flush_workqueue(tdc_workqueue);
tdc->fmc->op->irq_free(tdc->fmc);
tdc_zio_remove(tdc);
kfree(tdc);
......
Markdown is supported
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