Commit 6d74b86d authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ctxfi - Allow 64bit DMA

emu20kx chips support 64bit address PTE.  Allow the DMA bit mask to
accept 64bit address, too.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent bd05dbd3
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
* *
*/ */
#include "cthw20k1.h"
#include "ct20k1reg.h"
#include <linux/types.h> #include <linux/types.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/pci.h> #include <linux/pci.h>
...@@ -26,8 +24,14 @@ ...@@ -26,8 +24,14 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/delay.h> #include <linux/delay.h>
#include "cthw20k1.h"
#include "ct20k1reg.h"
#define CT_XFI_DMA_MASK DMA_BIT_MASK(32) /* 32 bits */ #if BITS_PER_LONG == 32
#define CT_XFI_DMA_MASK DMA_BIT_MASK(32) /* 32 bit PTE */
#else
#define CT_XFI_DMA_MASK DMA_BIT_MASK(64) /* 64 bit PTE */
#endif
struct hw20k1 { struct hw20k1 {
struct hw hw; struct hw hw;
......
Markdown is supported
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