aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2016-03-03 11:02:14 +0000
committerMark Brown <[email protected]>2016-03-04 04:06:00 +0000
commit590745017ef3658b33a581fe0c6d60b70e92df85 (patch)
treeff01c62796b397467fca5334b426b78680f66b6a /scripts/asn1_compiler.c
parentspi: pxa2xx: Add support for Intel Broxton B-Step (diff)
downloadkernel-590745017ef3658b33a581fe0c6d60b70e92df85.tar.gz
kernel-590745017ef3658b33a581fe0c6d60b70e92df85.zip
spi: pxa2xx: Use newer more explicit DMAengine terminate API
Commit b36f09c3c441 ("dmaengine: Add transfer termination synchronization support") marked dmaengine_terminate_all() as deprecated and is being replaced by explicit synchronous and asynchronous terminate functions. Here DMA termination are done in two cases: FIFO overrun and module removal. FIFO overrun is handled in interrupt context and converting dmaengine_terminate_all() to dmaengine_terminate_async() does the same than before. Using synchronous termination in module removal however adds a bit more robustness as it waits all completion callbacks have finished. Although it looks all known DMA engines used with spi-pxa2xx don't implement device_synchronize() callback so this too appears to be a no-op in practice. Signed-off-by: Jarkko Nikula <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Acked-by: Robert Jarzmik <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions