aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_gadget_ep0.c
diff options
context:
space:
mode:
authorSwaminathan S <swami.iyer@ti.com>2009-12-15 06:30:00 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 14:34:17 -0500
commit93aa3dab008421789aa0f8865a62a52ae13269a3 (patch)
tree820ee4a9ffa037b121ee0308cc34c141c2a3df08 /drivers/usb/musb/musb_gadget_ep0.c
parentcd42fef0a0b061817904fd6feb0de66830794857 (diff)
USB: musb: fix for crash in DM646x USB when (CPPI)DMA is enabled
Race condition exists between the cppi_interrupt handler and davinci_interrupt handler w.r.t completing a TX IO. Since DM646x has seperate DMA and USB endpoint interrupts cppi_interrupt handler needs to hold the lock while operating on the endpoint. Update over previous patch to avoid taking the lock if already taken. Tested on DM644x, DM355 and DM646x platforms. Signed-off-by: Swaminathan S <swami.iyer@ti.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Acked-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_gadget_ep0.c')
0 files changed, 0 insertions, 0 deletions