]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00289237 PXP: fix a multiple instances hang issue
authorFancy Fang <B47543@freescale.com>
Thu, 21 Nov 2013 11:44:45 +0000 (19:44 +0800)
committerFancy Fang <B47543@freescale.com>
Fri, 22 Nov 2013 10:01:10 +0000 (18:01 +0800)
commit6320ada11093ef0a4ded9065d6ae284a9129f7d6
tree2d337fe8440238cc1f38c2ed2e46d763627ea97b
parent430dc3830e80a749666f9eb2aa9feba55823c6eb
ENGR00289237 PXP: fix a multiple instances hang issue

In pxp_issue_pending(), the wait for pxp done processes will be woken up
together in PXP ISR. So there will be some situations that one process will
set PXP hardware registers after another process's setting but before the
first PXP task done. So the PXP hardware may be corrupted and hang maybe
happen.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_device.c
drivers/dma/pxp/pxp_dma_v2.c