diff options
author | Johannes Stezenbach <js@sig21.net> | 2011-11-14 16:23:18 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-14 21:36:43 (GMT) |
commit | 3fb5eac50d66cab4a41177269432ffffcc3e67ac (patch) | |
tree | a6f0e226db8c5448db1739243407f0f3c413d116 /include/sound/sta32x.h | |
parent | e012ba249171a205c5735a76b947bdae9cf34c6e (diff) | |
download | linux-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.h | 1 |
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 */ |