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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Johannes Stezenbach 2011-11-14 17:23:18 +01:00 • committed by Mark Brown
commit 3fb5eac50d
2 changed files with 50 additions and 1 deletions

View file

@ -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 */