ASoC: mfld_machine: prevent the deadlock in interrupt handler of machine driver
authorDharageswari.R <Dharageswari.R@intel.com>
Thu, 6 Oct 2011 15:18:36 +0000 (16:18 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:16:59 +0000 (13:16 -0800)
commitd643ad0642e3b00665cb1f339694a38521488eca
tree858ce16208c8d50fa1eda2f817d8717da395a51e
parent74b783f9cb74e2797d779d5b28998636037be339
ASoC: mfld_machine: prevent the deadlock in interrupt handler of machine driver

This patches uses spin_lock_irqsave to store and handle the jack and
over current interrupts.There by it prevents the deadlock issue caused due to
spin_lock in the threaded interrupt handler.

Change-Id: I693c153d0a1f39d02d9d114a8ae0c99d19badebe
Signed-off-by: Dharageswari.R <Dharageswari.R@intel.com>
sound/soc/mid-x86/mfld_machine.c