ASoC: sn95031: Avoiding spurious OC interrupts and reduction of delay in OC Interrupt...
authorDharageswari.R <Dharageswari.R@intel.com>
Thu, 6 Oct 2011 15:18:37 +0000 (16:18 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:17:04 +0000 (13:17 -0800)
commit2fe383d0aeaf535bc1619a372ae0b322bae8cee8
treeb1db40882f4b77a9d0a1095ff530ffc2d0140e94
parent840716ab55f7767d7fc3092cc739fe8e153ac55d
ASoC: sn95031: Avoiding spurious OC interrupts and reduction of delay in OC Interrupt handler

This patch masks the OCVOLSTSMASK bit of OCAUDIOMASK regsiter as soon as the
Over current interrupt is received by the audio driver and it unmasks the same
register after restoring the IHF volume.Also the delay to schedule the
delayed Over current workqueue has been reduced to 100msec from 1 sec.

This patch will fix audio driver from receiving the spurious Over Current
interrupts and also reduces the delay in the over current interrupt handler.

Change-Id: I30c0a2dcff1104a1b400467ab39370dc5c3d731b
Signed-off-by: Dharageswari.R <Dharageswari.R@intel.com>
sound/soc/codecs/sn95031.c
sound/soc/codecs/sn95031.h