[alsa-devel] [PATCH V2 5/9] Main rewite of the mpc5200 audio DMA code
Jon Smirl
jonsmirl at gmail.com
Sun May 24 22:10:52 CEST 2009
On Sun, May 24, 2009 at 2:55 PM, Wolfram Sang <w.sang at pengutronix.de> wrote:
>> Rewrite the mpc5200 audio DMA code to support both I2S and AC97. Make it more robust.
>
> Why is it more robust?
I've implemented retries for when the AC97 hardware doesn't reset on
first try. About 10% of the time both the Efika and pcm030 AC97 codecs
don't reset on first try and need to be poked multiple times. Failure
is indicated by not having the link clock start ticking. Every once in
a while even five pokes won't get the link started and I have to power
cycle.
I don't have an oscilloscope, after I get these basic drivers in maybe
someone can put a scope on this and figure out why reset is failing.
I've read the various datasheets and I believe my reset pulses have
the correct timings.
>
> --
> Pengutronix e.K. | Wolfram Sang |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkoZmA0ACgkQD27XaX1/VRvugwCgsluxfp1rJH2MVFMTH6Yqo8bX
> dnIAn1z0QRIFEUJa0XpGFE937siwf8Cy
> =M0wP
> -----END PGP SIGNATURE-----
>
>
--
Jon Smirl
jonsmirl at gmail.com
More information about the Alsa-devel
mailing list