This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: Why schedule delay work after the canceling the work queue ?

Part Number: AM3352

On the MUSB controller driver below is observation and need help to understand this.

musb_remove() function on musb_core.c is calling the cancel_delayed_work_sync(&musb->irq_work); .
After this cancel the work schedule_delayed_work(&musb->irq_work, 0) is called from musb_gadget_stop.