Re: ASoC: PATCH: mpc5200_psc_ac97 (was Re: AC97 on pcm030 board with WM9712 codec)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 21, 2009 at 7:08 PM, Mark
Brown<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Jul 21, 2009 at 01:24:04PM -0700, John Bonesio wrote:
>
>> Reset was failing with the original udelay(50) between the code in
>> psc_ac97_cold_reset() and the call to psc_ac97_warm_reset(). Through testing
>> it was found that a delay of 1ms was necessary for the cold_reset code to
>> consistently complete successfully.

Something is funky between the mpc5200 and the wm9712 when doing a
cold reset. Increasing this delay seems to fix it but it shouldn't be
needed per the wm9712 datasheet. The only way to know 100% for sure
what is going on is to put a scope (I don't have one) on the reset
line and the SDATAOUT or SYNC lines. Maybe SDATAOUT or SYNC initially
bounce around and delaying for 1ms waits until after the balancing
stops.  Datasheet says pulse only needs to be 1us.

But if the 1ms delays fixes things I'm all for it.

-- 
Jon Smirl
jonsmirl@xxxxxxxxx
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux