aboutsummaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2014-08-22 20:14:00 +0900
committerFelipe Balbi <balbi@ti.com>2014-09-03 09:15:57 -0500
commitc4d8199ba1a7aa390b06db23f4532e2c1875aefb (patch)
treef000d2f2726c08aa09c560a7131cb4270f5b1997 /drivers/sh
parent8355b2b3082d302091506703d2e4e239f7deed7f (diff)
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>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions