diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2015-11-23 16:09:39 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-05 11:17:37 +0300 |
commit | 95da0c19d164f6df0b71a5187950f47d4b746e91 (patch) | |
tree | f1bc2a2073f3c444d622454d84d5f2547d4f3a0c /drivers/dma/acpi-dma.c | |
parent | d9f5efade2cfd729138a7cafb46d01044da40f5e (diff) | |
download | linux-95da0c19d164f6df0b71a5187950f47d4b746e91.tar.xz |
dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers
When setting the channel configuration register, the perid field is not
set to 0 since it is useless for mem2mem transfers. Unfortunately, a
device has 0 as perid. It could cause spurious flags status because
the controller could mix some events from the two channels.
For that reason, use the highest perid value for mem2mem transfers since it
doesn't match the perid of other devices.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/acpi-dma.c')
0 files changed, 0 insertions, 0 deletions