mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
sh: Fix Dreamcast DMA issues.
The current SH DMA API is somewhat broken, not correctly matching virtual channel to the correct SH DMAC. This wasn't noticeable when using g2 DMA for the sound driver - one channel 0 is as good as any other! - but caused the pvr2 driver to fail. This patch fixes the pvr2 problem and consequently fixes the sound driver to ensure it continues to function. Signed-off by: Adrian McMenamin <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
8cf1a74305
commit
eb695dbf00
3 changed files with 6 additions and 4 deletions
|
|
@ -52,7 +52,7 @@
|
|||
#define AICA_CHANNEL1_OFFSET 0x21000
|
||||
#define CHANNEL_OFFSET 0x10000
|
||||
|
||||
#define AICA_DMA_CHANNEL 0
|
||||
#define AICA_DMA_CHANNEL 5
|
||||
#define AICA_DMA_MODE 5
|
||||
|
||||
#define SND_AICA_DRIVER "AICA"
|
||||
|
|
|
|||
Loading…
Reference in a new issue