diff options
author | 2014-08-22 20:14:00 +0900 | |
---|---|---|
committer | 2014-09-03 09:15:57 -0500 | |
commit | c4d8199ba1a7aa390b06db23f4532e2c1875aefb (patch) | |
tree | f000d2f2726c08aa09c560a7131cb4270f5b1997 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle (diff) | |
download | linux-dev-c4d8199ba1a7aa390b06db23f4532e2c1875aefb.tar.xz linux-dev-c4d8199ba1a7aa390b06db23f4532e2c1875aefb.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions