On Wed, 2012-05-09 at 19:33 +0800, Richard Zhao wrote: > device_prep_dma_cyclic may be call in audio trigger function which is > atomic context, so we make it atomic too. > > - change channel0 lock to spinlock. > - Use polling to wait for channel0 finish running. > > Signed-off-by: Richard Zhao <richard.zhao@xxxxxxxxxxxxx> Acked By: Vinod Koul <vinod.koul@xxxxxxxxxxxxxxx> -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html