summaryrefslogtreecommitdiff
path: root/include/sound/sta32x.h
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2011-11-14 20:23:18 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-15 01:36:43 +0400
commit3fb5eac50d66cab4a41177269432ffffcc3e67ac (patch)
treea6f0e226db8c5448db1739243407f0f3c413d116 /include/sound/sta32x.h
parente012ba249171a205c5735a76b947bdae9cf34c6e (diff)
downloadlinux-3fb5eac50d66cab4a41177269432ffffcc3e67ac.tar.xz
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/sta32x.h')
-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 45d7477c049b..8d93b0357a14 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 */