]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:45 +0000 (10:06 +0200)
commit1a0df11a15b62ccc06231f24baa922a35d022694
treec7c0f9720208cf62d69d514e5ff04175d178db53
parent7ead015523f0521219adbe87e597bd65e877a218
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