summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2011-11-14 17:23:18 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-14 21:36:43 +0000
commit3fb5eac50d66cab4a41177269432ffffcc3e67ac (patch)
treea6f0e226db8c5448db1739243407f0f3c413d116 /include/sound
parente012ba249171a205c5735a76b947bdae9cf34c6e (diff)
downloadop-kernel-dev-3fb5eac50d66cab4a41177269432ffffcc3e67ac.zip
op-kernel-dev-3fb5eac50d66cab4a41177269432ffffcc3e67ac.tar.gz
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>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/sta32x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/sta32x.h b/include/sound/sta32x.h
index 45d7477..8d93b03 100644
--- a/include/sound/sta32x.h
+++ b/include/sound/sta32x.h
@@ -29,6 +29,7 @@ struct sta32x_platform_data {
int ch2_output_mapping;
int ch3_output_mapping;
int thermal_conf;
+ int needs_esd_watchdog;
};
#endif /* __LINUX_SND__STA32X_H */
OpenPOWER on IntegriCloud