[PATCH] audio-tickless-timeout.patch

Andy Green andy at openmoko.com
Thu Apr 3 23:13:56 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| When we resume, we can end up in
| sound/soc/s3c24xx/s3c24xx-i2s.c:s3c24xx_snd_lrsync
| with the timer tick still disabled, and the LR signal never happening.
| Thus, we loop forever.
|
| The patch below changes the timeout mechanism to use udelay, which
| doesn't need timer ticks.

It's a good find, I guess what is behind it is a race with timer resume.
~ If so that's a pretty subtle ordering dependency, using jiffies -->
timer resume.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkf1SJQACgkQOjLpvpq7dMqzGgCfa9iAWywn0W/dsbLNpiis8bwD
TU4AmwaXB/KfQw6rUELDSq4c9YU10C1w
=IsA3
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list