ASoC: S3C lrsync function made to work with IRQs disabled.
authorJassi <jassi.brar@samsung.com>
Tue, 15 Sep 2009 10:02:37 +0000 (19:02 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 15 Sep 2009 12:26:14 +0000 (13:26 +0100)
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>

No differences found