MIPS: Alchemy: change dbdma to accept physical memory addresses
DMA can only be done from physical addresses; move the "virt_to_phys" source/destination buffer address translation from the dbdma queueing functions (since the hardware can only DMA to/from physical addresses) to their respective users. Signed-off-by:Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/alchemy/common/dbdma.c 4 additions, 4 deletionsarch/mips/alchemy/common/dbdma.c
- arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h 2 additions, 2 deletionsarch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h
- drivers/ide/au1xxx-ide.c 4 additions, 4 deletionsdrivers/ide/au1xxx-ide.c
- drivers/mmc/host/au1xmmc.c 2 additions, 2 deletionsdrivers/mmc/host/au1xmmc.c
- drivers/spi/au1550_spi.c 2 additions, 2 deletionsdrivers/spi/au1550_spi.c
- sound/oss/au1550_ac97.c 7 additions, 5 deletionssound/oss/au1550_ac97.c
- sound/soc/au1x/dbdma2.c 5 additions, 7 deletionssound/soc/au1x/dbdma2.c
Loading
Please register or sign in to comment