]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Fix cppi_channel_abort() function to handle Tx abort correctly
authorSwaminathan S <swami.iyer@ti.com>
Mon, 28 Dec 2009 11:40:38 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:46 +0000 (14:53 -0800)
commita9b8d7181509c06bd5541a4582476b8d3d2f1c96
tree8abd0d3af156b0593b3dc6e0b91e1e89f8bb3a44
parent1c4722ea264cab6777804b4b7733090a326d9fe2
usb: musb: Fix cppi_channel_abort() function to handle Tx abort correctly

This patch fixes the Tx abort/teardown logic. We now wait for the teardown
completion interrupt and acknowledge the same by setting the tx_complete
register to 0.

This change is needed to ensure that abort processing works on DM365 platform.
Without this change after completion of abort processing the system is
overwhelmed with continuous stream of abort interrupts.

This change has been tested on all CPPI3.x platforms (DM644x, DM646x, DM35x,
DM36x).

Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/cppi_dma.c