[alsa-devel] [PATCH] [ALSA] soc - fsl_ssi.c fix "BUG: scheduling while atomic"

Timur Tabi timur at freescale.com
Thu May 8 21:19:36 CEST 2008


Anton Vorontsov wrote:

> We must not sleep with irqs disabled, so replace msleep with mdelay.
> 
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>

Acked-By: Timur Tabi <timur at freescale.com>

Anton, can you try testing the code with the call to mdelay/msleep commented
out?  On my quick test, I didn't need it, so I have a suspicion that it was
needed only for the old 1.0 silicon.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list