commit | fa68e0025d4184ba917621a9c977d4243d0a013e | [log] [tgz] |
---|---|---|
author | Jassi <jassi.brar@samsung.com> | Tue Sep 15 19:02:37 2009 +0900 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Sep 15 13:26:14 2009 +0100 |
tree | 6bab0f8380e5ff4446ffcbadb75039f41565e951 | |
parent | 3eef08ba522775360cc59fe0a6b1bca6ecc8da4e [diff] |
ASoC: S3C lrsync function made to work with IRQs disabled. s3c2412_snd_lrsync() maybe reached with IRQs disabled and if LRCLK is dead due to improper initialization of CPU or CODEC, the system gets stuck in the loop because jiffies may never get updated. Implemented counter based wait mechanism for atleast the same timeout period. Signed-off-by: Jassi <jassi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>