Skip to content
Commit 81461509 authored by Dom Cobley's avatar Dom Cobley
Browse files

bcm2835-dma: Fix dma_abort for non-40bit channels



The sequence we were doing was not safe.

Clearing CS meant BCM2835_DMA_WAIT_FOR_WRITES was cleared
and so polling BCM2835_DMA_WAITING_FOR_WRITES has no benefit

Broadcom have provided a recommended sequence to abort
a dma lite channel, so switch to that.

Signed-off-by: default avatarDom Cobley <popcornmix@gmail.com>
parent ee0baed6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment