Re: 2.6.1-mm4: ALSA es1968 DMA alloc problem

From: Johannes Stezenbach
Date: Mon Jan 19 2004 - 20:31:02 EST


On Mon, Jan 19, 2004 at 07:05:13PM +0100, Takashi Iwai wrote:
> At Mon, 19 Jan 2004 18:14:12 +0100,
> I wrote:
> >
> > hmm, can calling pci_set_consistent_dma_mask() after
> > pci_set_dma_mask() fail? then we need to fix
> > Documentation/DMA-mapping.txt, too.
>
> well, anyway, the attached is one with checks of both returns.

The patch did not apply cleanly because it is against a newer
core/memalloc.c than the one in 2.6.1-mm4 (rev 1.19 vs. 1.20).
I fetched memalloc.c rev1.20 from ALSA CVS and applied the
patch on top of that: My es1968 soundcard works.

(To make sure the whole problem was not just caused by an
out-of-date memalloc.c in 2.6.1-mm4 I also tried just
the updated memalloc.c without your patch, but this did
not cure the "DMA buffer beyond 256MB" problem.)

Johannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/