ASoC: sta32x: add workaround for ESD reset issue
authorJohannes Stezenbach <js@sig21.net>
Mon, 14 Nov 2011 16:23:18 +0000 (17:23 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 14 Nov 2011 21:36:43 +0000 (21:36 +0000)
commit3fb5eac50d66cab4a41177269432ffffcc3e67ac
treea6f0e226db8c5448db1739243407f0f3c413d116
parente012ba249171a205c5735a76b947bdae9cf34c6e
ASoC: sta32x: add workaround for ESD reset issue

sta32x resets and loses all configuration during ESD test.
Work around by polling the CONFA register once a second
and restore all coeffcients and registers when CONFA
changes unexpectedly.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/sta32x.h
sound/soc/codecs/sta32x.c