]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00291400 PXP: Organize PXP task queue to be FIFO
authorFancy Fang <B47543@freescale.com>
Mon, 9 Dec 2013 10:36:39 +0000 (18:36 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:09:10 +0000 (18:09 +0200)
commitfec33e8b1b5977472f667e8716de8eabc40ff797
tree1f6e76a2142fc3a5f6bcd396aee14081946e5344
parentd402b357b69cd1cfd2abf7ee9a7192fc6aa77553
ENGR00291400 PXP: Organize PXP task queue to be FIFO

The requested PXP tasks were handled based on channel unit. All the
tasks in one channel were handled one by one, and the tasks in another
channel only can get chance after all the tasks in previous channel
were finished. So this may allow some channel occupies PXP hardware
exclusively all the time, and other channels may never get PXP services.
So this change makes the PXP task queue to be a FIFO to avoid this kind
of unfair usage for PXP.

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