linux/drivers/usb/renesas_usbhs
Yoshihiro Shimoda c4d8199ba1 usb: renesas_usbhs: protect mod->irq_{bemp,brdy}sts by spin lock
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>
2014-09-03 09:15:57 -05:00
..
common.c usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
common.h usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
fifo.c usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle 2014-09-03 09:15:57 -05:00
fifo.h
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
mod_gadget.c usb: renesas_usbhs: gadget: fix re-enabling pipe without re-connecting 2014-07-10 08:36:49 -05:00
mod_host.c usb: hcd: move controller wakeup setting initialization to individual driver 2013-12-08 18:06:46 -08:00
mod.c usb: renesas_usbhs: protect mod->irq_{bemp,brdy}sts by spin lock 2014-09-03 09:15:57 -05:00
mod.h
pipe.c usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle 2014-09-03 09:15:57 -05:00
pipe.h usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle 2014-09-03 09:15:57 -05:00
rcar2.c usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
rcar2.h usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00