Re: [alsa-devel] looping S/PDIF data

From: Rene Herman
Date: Fri Jun 20 2008 - 15:52:33 EST


On 20-06-08 21:45, Pierre Ossman wrote:

On Thu, 19 Jun 2008 14:48:19 +0200
Takashi Iwai <tiwai@xxxxxxx> wrote:

At Thu, 19 Jun 2008 14:39:05 +0200 (CEST),
Jaroslav Kysela wrote:
I don't think that this patch is correct. DMA transfers should be disabled by:

outl(what, TRID_REG(trident, T4D_STOP_B));
outl(val, TRID_REG(trident, T4D_AINTEN_B));
They are already in the trigger callback as long as I saw the code
quickly. So the problem should be somewhere else.

lines. Adding &= ~SPDIF_EN can disable output from AC97 to S/PDIF as well.
That's true.

Anyway, if you are up now, I'll let you hunt further as you are the
author of the driver :)


Are there any specs on this hardware? I could play around a bit myself,
but I can't really find any documentation on the registers.

At:

ftp://ftp.alsa-project.org/pub/manuals/trident/

there's a 4D-Wave DX technical reference manual and .doc files which at first glance look useful.

Rene.
--
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/