c4d8199ba1
This patch protects the mod->irq_bempsts and mod->irq_brdysts by spin lock in the usbhs_status_get_each_irq() because other functions will write them during spin lock. Otherwise, the driver will clears the BRDYSTS and/or BEMPSTS wrongly, and then, the transaction will not finish. Also since the driver should use the INTSTS0 and BRDYSTS and BEMPSTS as the same timing, the patch protects them. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
common.c | ||
common.h | ||
fifo.c | ||
fifo.h | ||
mod.c | ||
mod.h | ||
mod_gadget.c | ||
mod_host.c | ||
pipe.c | ||
pipe.h | ||
rcar2.c | ||
rcar2.h |