On Fri, 2018-02-09 at 11:27 +0800, Rander Wang wrote:
All GPDMA share the same irq on cannonlake, this is different with appololake.The change is:probe GPDMA array when initilized, set the array to the irq function; check the interrupt status of GPDMA array in irq function, process the correct GPDMA that produces interrupt.
V2: refine it to build for other platform.
kernel:Pierre`s branch rimage:embargo-1.0 fw:master
Signed-off-by: Rander Wang rander.wang@intel.com
src/drivers/dw-dma.c | 43 ++++++++++++++++------ src/platform/cannonlake/dma.c | 2 +- .../cannonlake/include/platform/platform.h | 1 + src/platform/cannonlake/platform.c | 14 ++----- 4 files changed, 37 insertions(+), 23 deletions(-)
Applied with a minor modification for private data access.
Liam