ASoC: sn95031: fix to avoid spurious jack interrupts
authorRamesh Babu K V <ramesh.babu@intel.com>
Thu, 6 Oct 2011 15:18:24 +0000 (16:18 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:16:28 +0000 (13:16 -0800)
commit4cc48f6d035bbbf97bdb9d6b9ed54ae23b0af18a
tree6e4e18ca2825eabc47b56bcd8e01de05a572b41c
parent0a702ed8dfbfc45a467c5ad63fc45396da2df2ed
ASoC: sn95031: fix to avoid spurious jack interrupts

When jack insertion is detected, jack detection interrupt is disabled to avoid
spurious interrupts.  Jack detection interrupt will be re-enabled when jack
removal is detected.

Change-Id: Ie43a0e881beb03e657e441cd801f5c84ba6768b7
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
sound/soc/codecs/sn95031.c
sound/soc/codecs/sn95031.h