-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dw-dma: revert recent changes for Baytrail
Two recent commits: 7275e42 ('dw-dma: handle interrupts per core') 433de9f ('dw-dma: clear block/transfer irq after stop') broke DW-DMA on Baytrail. Though they seem logical, they don't produce the desired result on that platform. This patch restores the original behaviour on BYT, CHT, BDW and HSW. It also eliminates the redundant branch in the loop by replacing it with a simple mask to restore the original IRQ processing order: 1. clear the source IRQ 2. clear the platform IRQ 3. call the callbacks Signed-off-by: Guennadi Liakhovetski <[email protected]>
- Loading branch information
Showing
1 changed file
with
16 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters