mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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:
parent
e012ba2491
commit
3fb5eac50d
2 changed files with 50 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue