Re: [alsa-devel] looping S/PDIF data
From: Pierre Ossman
Date: Fri Jun 20 2008 - 15:45:36 EST
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.
Rgds
--
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Use end-to-end encryption where
possible.
Attachment:
signature.asc
Description: PGP signature