diff options
author | Daniel Glöckner <dg@emlix.com> | 2009-11-17 15:22:57 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-11-30 16:43:16 -0800 |
commit | 8d6499e5bde91ad05dea4f666bdfe79e65e7cf96 (patch) | |
tree | fa199bba40a29c2f46970dca3f325354362630cd /arch/frv | |
parent | 5542bc2ac7b52c021fc9c7a96329955491b7e763 (diff) |
USB: musb: Fix CPPI IRQs not being signaled
On tx channel abort a cppi interrupt is generated for a short time by
setting the lowest bit of the TCPPICOMPPTR register. It is then reset
immediately by clearing the bit. When the interrupt handler is run,
it does not detect an interrupt in the TCPPIMSKSR or RCPPIMSKSR
registers and thus exits early without writing the TCPPIEOIR register.
It appears that this inhibits further cppi interrupts until the handler
is called by chance, f.ex. from davinci_interrupt().
By moving the unmasking of the interrupt below the writes to
TCPPICOMPPTR, no interrupt is generated and no write to TCPPIEOIR is
necessary.
Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions