Commit 704cf3e6 authored by Charles Baudouin's avatar Charles Baudouin Committed by Michal Simek
Browse files

usb: zynq_udc: Patch to fix crash in OTG mode



IRQ spinlock needs to be taken before calling dr_controller_run().
Otherwise interupts are enabled before stopped bit is cleared
causing zynq_udc_irq() to return IRQ_NONE, which results in stacktrace
and irq53 being disabled by kernel.

Signed-off-by: default avatarCharles Baudouin <charles.baudouin@cobham.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent fe393401
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment