MLK-12420 fix potential head list corruption.
authorFancy Fang <chen.fang@nxp.com>
Tue, 22 Mar 2016 02:52:27 +0000 (10:52 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:45 +0000 (14:51 -0500)
commitcc6684b8f4efe847ee71a55845aadaaf80813d54
tree5a52e15ea9817e81a305565b86b48eae182d0ef8
parenta16120132a12df27cd6ba18574dd84e84f9d5060
MLK-12420 fix potential head list corruption.

The head list may be corrupted when two requests from
the same 'pxp_chan' are issued sequentially. So change
the issue_pending function to strictly serialized the
requests to avoid this kind of issue.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/dma/pxp/pxp_dma_v3.c