Re: CMPCI patch for 2.4.23 (fix multi channel audio, spdiff, game port)

From: Anssi Saari
Date: Mon Dec 08 2003 - 13:21:24 EST


On Sun, Dec 07, 2003 at 10:38:02PM +0200, Ville Hallivuori wrote:

> #define SPDF_0 0x01
> #define SPDF_1 0x02
> to
> #define SPDF_0 0x02
> #define SPDF_1 0x01
>
> And change from function set_spdif_monitor line:
> maskw(s->iobase + CODEC_CMI_FUNCTRL1, ~SPDO2DAC, channel == 2 ? SPDO2DAC : 0);
> to:
> maskw(s->iobase + CODEC_CMI_FUNCTRL1, ~SPDO2DAC, channel == 1 ? SPDO2DAC : 0);
>
> If this does not help. try looking for similar value pairs -- it seems
> that channel number assumptions are present in quite many places...

Yes, that fixed SPDIF out. However, I still don't have working
AC3 passthrough. I wish I knew more about the chip... At least
set_ac3_unlocked() seems to do the same thing for both versions.


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