]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/dma/mpc512x_dma.c
powerpc/512x: fix the hanged dma transfer issue
authorIlya Yanok <yanok@emcraft.com>
Tue, 26 Oct 2010 23:52:56 +0000 (01:52 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 30 Dec 2010 05:28:14 +0000 (22:28 -0700)
commit2862559e8a1e7c47bb3003f0edbc9db9009dc32b
tree2737fe6a622fe36a1a9dc49224cdb39608e9cac8
parent6504cf3412373f42b53a675363c056901c1596cf
powerpc/512x: fix the hanged dma transfer issue

Current code clears interrupt active status _after_ submitting new
transfers. This leaves a possibility of clearing the interrupt for this
new transfer (if it is triggered fast enough) and thus lose this
interrupt. We want to clear interrupt active status _before_ new
transfers is submitted and for current channel only.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Acked-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/dma/mpc512x_dma.c