ASoC: sst_platform: Fix lock acquring
authorLu Guanqun <guanqun.lu@intel.com>
Fri, 8 Apr 2011 07:38:48 +0000 (15:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Apr 2011 20:14:51 +0000 (13:14 -0700)
commitd89b0a136e61c2d7d37a8040269a2ae169345c7a
tree8964aa1701dc14c3824e6c3d3b35a26c723b046e
parentd985f27e13fe62e158a3416e3d8308ef1cf6028c
ASoC: sst_platform: Fix lock acquring

Fix the possible dead lock shown below:

spin_lock
sst_get_stream_status
sst_period_elapsed
intel_sst_interrupt
handle_IRQ_event
handle_fasteoi_irq
do_IRQ
common_interrupt
spin_lock
sst_set_stream_status
sst_platform_pcm_trigger

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/mid-x86/sst_platform.c